Addendum to the fix for bug #46080: fixed the error handling

This commit is contained in:
Georgi Kodinov 2009-07-13 14:17:14 +03:00
parent 924c8c5bfb
commit 42cab12a93
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,6 @@ 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;
Got one of the listed errors
DROP TABLE t1;
SET @@SESSION.sort_buffer_size=default;
SET @@SESSION.max_heap_table_size=default;

View file

@ -10,8 +10,10 @@ SET @@SESSION.sort_buffer_size=5*16*1000000;
SET @@SESSION.max_heap_table_size=5*1000000;
--echo # Must not crash.
--error 5,0
--disable_result_log
--error 0,5
SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a;
--enable_result_log
DROP TABLE t1;
SET @@SESSION.sort_buffer_size=default;