MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:eugene Date:September 5 2005 1:58pm
Subject:bk commit into 4.1 tree (evgen:1.2409) BUG#12859
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of evgen. When evgen 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.2409 05/09/05 17:58:29 evgen@stripped +2 -0
  func_gconcat.test, func_gconcat.result:
    Test case for bug #12859 group_concat in subquery cause incorrect not null.

  mysql-test/t/func_gconcat.test
    1.32 05/09/05 17:56:26 evgen@stripped +8 -0
    Test case for bug #12859 group_concat in subquery cause incorrect not null.

  mysql-test/r/func_gconcat.result
    1.40 05/09/05 17:55:48 evgen@stripped +9 -0
    Test case for bug #12859 group_concat in subquery cause incorrect not 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:	evgen
# Host:	moonbone.local
# Root:	/work/12859-bug-4.1-mysql

--- 1.39/mysql-test/r/func_gconcat.result	2005-08-31 18:13:16 +04:00
+++ 1.40/mysql-test/r/func_gconcat.result	2005-09-05 17:55:48 +04:00
@@ -551,3 +551,12 @@
 select * from (select group_concat('c') from DUAL) t;
 group_concat('c')
 NULL
+create table t1 ( a int not null default 0);
+select * from (select group_concat(a) from t1) t2;
+group_concat(a)
+NULL
+select group_concat('x') UNION ALL select 1;
+group_concat('x')
+NULL
+1
+drop table t1;

--- 1.31/mysql-test/t/func_gconcat.test	2005-08-31 18:13:37 +04:00
+++ 1.32/mysql-test/t/func_gconcat.test	2005-09-05 17:56:26 +04:00
@@ -348,4 +348,12 @@
 #
 select * from (select group_concat('c') from DUAL) t;
 
+#
+# Bug #12859 group_concat in subquery cause incorrect not null
+#
+create table t1 ( a int not null default 0);
+select * from (select group_concat(a) from t1) t2;
+select group_concat('x') UNION ALL select 1;
+drop table t1;
+
 # End of 4.1 tests
Thread
bk commit into 4.1 tree (evgen:1.2409) BUG#12859eugene5 Sep