summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_gconcat.test
diff options
context:
space:
mode:
authorevgen@sunlight.local <>2006-03-30 17:14:55 +0400
committerevgen@sunlight.local <>2006-03-30 17:14:55 +0400
commiteb075f2255b1135c062071dd632dcf20a8c5a45f (patch)
treef1381200f8493f09eb4e5d618305dc65a91312e0 /mysql-test/t/func_gconcat.test
parent2618be804dc33051663434152de0ed002ab45778 (diff)
parent47f9b465649571a9aa9c9062c33d5f7c00e5325e (diff)
downloadmariadb-git-eb075f2255b1135c062071dd632dcf20a8c5a45f.tar.gz
Manual merge
Diffstat (limited to 'mysql-test/t/func_gconcat.test')
-rw-r--r--mysql-test/t/func_gconcat.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_gconcat.test b/mysql-test/t/func_gconcat.test
index 058df9af56b..1b88ed90fa3 100644
--- a/mysql-test/t/func_gconcat.test
+++ b/mysql-test/t/func_gconcat.test
@@ -389,6 +389,14 @@ SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY id;
DROP TABLE t1;
+#
+# Bug #15560: GROUP_CONCAT wasn't ready for WITH ROLLUP queries
+#
+create table t1(f1 int);
+insert into t1 values(1),(2),(3);
+select f1, group_concat(f1+1) from t1 group by f1 with rollup;
+select count(distinct (f1+1)) from t1 group by f1 with rollup;
+drop table t1;
# End of 4.1 tests
#