From: Date: May 15 2006 8:58pm Subject: bk commit into 5.1 tree (cmiller:1.2375) BUG#19564 List-Archive: http://lists.mysql.com/commits/6408 X-Bug: 19564 Message-Id: <20060515185855.BCFC65C053@zippy> Below is the list of changes that have just been committed into a local 5.1 repository of cmiller. When cmiller does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2375 06/05/15 14:58:48 cmiller@zippy.(none) +1 -0 Porting fix of Bug#19564 from 5.0/5.1 trees. client/mysql.cc 1.207 06/05/15 14:58:44 cmiller@zippy.(none) +1 -2 No longer use the length of data to infer whether it is null. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: cmiller # Host: zippy.(none) # Root: /home/cmiller/work/mysql/mysql-5.1-release --- 1.206/client/mysql.cc 2006-05-03 13:34:12 -04:00 +++ 1.207/client/mysql.cc 2006-05-15 14:58:44 -04:00 @@ -2338,8 +2338,7 @@ uint visible_length; uint extra_padding; - /* If this column may have a null value, use "NULL" for empty. */ - if (! not_null_flag[off] && (lengths[off] == 0)) + if (! not_null_flag[off] && (cur[off] == NULL)) { buffer= "NULL"; data_length= 4;