From: reggie Date: September 18 2006 1:38pm Subject: bk commit into 5.0 tree (rburnett:1.2272) List-Archive: http://lists.mysql.com/commits/12130 Message-Id: <200609181338.k8IDcbdu009710@bk-internal.mysql.com> Below is the list of changes that have just been committed into a local 5.0 repository of rburnett. When rburnett 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@stripped, 2006-09-18 15:38:34+02:00, rburnett@stripped +2 -0 Merge bk-internal.mysql.com:/data0/bk/mysql-5.0 into bk-internal.mysql.com:/data0/bk/mysql-5.0-kt MERGE: 1.2261.3.2 mysql-test/r/mysql.result@stripped, 2006-09-18 15:38:30+02:00, rburnett@stripped +0 -0 Auto merged MERGE: 1.15.1.1 mysql-test/t/mysql.test@stripped, 2006-09-18 15:38:30+02:00, rburnett@stripped +0 -0 Auto merged MERGE: 1.15.1.1 # 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: rburnett # Host: bk-internal.mysql.com # Root: /data0/bk/mysql-5.0-kt/RESYNC --- 1.16/mysql-test/r/mysql.result 2006-09-18 15:38:39 +02:00 +++ 1.17/mysql-test/r/mysql.result 2006-09-18 15:38:39 +02:00 @@ -95,6 +95,12 @@ | NULL | NULL | Τη γλώσσα | | NULL | NULL | ᛖᚴ ᚷᛖᛏ | +------+------+---------------------------+ +i j k +NULL 1 NULL +Field Type Null Key Default Extra +i int(11) YES NULL +j int(11) NO +k int(11) YES NULL +------+---+------+ | i | j | k | +------+---+------+ @@ -107,6 +113,10 @@ | j | int(11) | NO | | | | | k | int(11) | YES | | NULL | | +-------+---------+------+-----+---------+-------+ +i s1 +1 x +2 NULL +3 +------+------+ | i | s1 | +------+------+ @@ -114,6 +124,13 @@ | 2 | NULL | | 3 | | +------+------+ +unhex('zz') +NULL ++-------------+ +| unhex('zz') | ++-------------+ +| NULL | ++-------------+ create table t1(a int, b varchar(255), c int); Field Type Null Key Default Extra a int(11) YES NULL --- 1.16/mysql-test/t/mysql.test 2006-09-18 15:38:39 +02:00 +++ 1.17/mysql-test/t/mysql.test 2006-09-18 15:38:39 +02:00 @@ -76,14 +76,21 @@ # # "DESCRIBE" commands may return strange NULLness flags. # +--exec $MYSQL --default-character-set utf8 test -e "create table t1 (i int, j int not null, k int); insert into t1 values (null, 1, null); select * from t1; describe t1; drop table t1;" --exec $MYSQL -t --default-character-set utf8 test -e "create table t1 (i int, j int not null, k int); insert into t1 values (null, 1, null); select * from t1; describe t1; drop table t1;" # # Bug#19564: mysql displays NULL instead of space # +--exec $MYSQL test -e "create table b19564 (i int, s1 char(1)); insert into b19564 values (1, 'x'); insert into b19564 values (2, NULL); insert into b19564 values (3, ' '); select * from b19564 order by i; drop table b19564;" --exec $MYSQL -t test -e "create table b19564 (i int, s1 char(1)); insert into b19564 values (1, 'x'); insert into b19564 values (2, NULL); insert into b19564 values (3, ' '); select * from b19564 order by i; drop table b19564;" # +# Bug#21618: NULL shown as empty string in client +# +--exec $MYSQL test -e "select unhex('zz');" +--exec $MYSQL -t test -e "select unhex('zz');" + # Bug#19265 describe command does not work from mysql prompt #