diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-20 14:22:46 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-20 14:22:46 +0300 |
commit | c9d20d6c08fe85a852175887d5d361fe1d43b9c2 (patch) | |
tree | abdc965c92ac02057c93a78984ba3e9958312d87 /mysql-test/t/func_gconcat.test | |
parent | 2aeb18313f6536432b50ba4a289f4254d8ca9d78 (diff) | |
parent | 97e8471599679b37b711f3de328b078250965440 (diff) | |
download | mariadb-git-c9d20d6c08fe85a852175887d5d361fe1d43b9c2.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/func_gconcat.test')
-rw-r--r-- | mysql-test/t/func_gconcat.test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/t/func_gconcat.test b/mysql-test/t/func_gconcat.test index e191b9750e3..36a8542f9eb 100644 --- a/mysql-test/t/func_gconcat.test +++ b/mysql-test/t/func_gconcat.test @@ -708,6 +708,7 @@ SELECT 1 FROM DROP TABLE t1; +--echo End of 5.0 tests --echo # --echo # Bug #52397: another crash with explain extended and group_concat @@ -722,6 +723,26 @@ DROP TABLE t1; --echo End of 5.0 tests + +--echo # +--echo # Bug #54476: crash when group_concat and 'with rollup' in prepared statements +--echo # + +CREATE TABLE t1 (a INT); +INSERT INTO t1 VALUES (1), (2); + +PREPARE stmt FROM "SELECT GROUP_CONCAT(t1.a ORDER BY t1.a) FROM t1 JOIN t1 t2 GROUP BY t1.a WITH ROLLUP"; +EXECUTE stmt; +EXECUTE stmt; + +DEALLOCATE PREPARE stmt; +DROP TABLE t1; + + +--echo End of 5.1 tests + + + # # Bug#36785: Wrong error message when group_concat() exceeds max length # |