summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_gconcat.test
diff options
context:
space:
mode:
authorunknown <evgen@sunlight.local>2006-03-30 17:14:55 +0400
committerunknown <evgen@sunlight.local>2006-03-30 17:14:55 +0400
commite0708e2c11b9079fbe85a36fa1790761241b262c (patch)
treef1381200f8493f09eb4e5d618305dc65a91312e0 /mysql-test/t/func_gconcat.test
parentb7f090e402a27b5407e059a019dcefcfec483efd (diff)
parentff4de9050149bd1ab1727d7f226e094ddcdcd355 (diff)
downloadmariadb-git-e0708e2c11b9079fbe85a36fa1790761241b262c.tar.gz
Manual merge
myisam/mi_search.c: Auto merged mysql-test/t/ctype_utf8.test: Auto merged
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
#