Addendum to the fix for bug #46080: fixed the test case

This commit is contained in:
Georgi Kodinov 2009-07-10 17:03:09 +03:00
parent 5beae1f8dc
commit 924c8c5bfb
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,8 @@ INSERT INTO t1 VALUES ('a');
SET @@SESSION.sort_buffer_size=5*16*1000000;
SET @@SESSION.max_heap_table_size=5*1000000;
# Must not crash.
SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a
SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a;
Got one of the listed errors
DROP TABLE t1;
SET @@SESSION.sort_buffer_size=default;
SET @@SESSION.max_heap_table_size=default;

View file

@ -9,7 +9,8 @@ INSERT INTO t1 VALUES ('a');
SET @@SESSION.sort_buffer_size=5*16*1000000;
SET @@SESSION.max_heap_table_size=5*1000000;
echo # Must not crash.
--echo # Must not crash.
--error 5,0
SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a;
DROP TABLE t1;