Commit 42cab12a authored by Georgi Kodinov's avatar Georgi Kodinov

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

parent 924c8c5b
...@@ -8,7 +8,6 @@ SET @@SESSION.sort_buffer_size=5*16*1000000; ...@@ -8,7 +8,6 @@ SET @@SESSION.sort_buffer_size=5*16*1000000;
SET @@SESSION.max_heap_table_size=5*1000000; SET @@SESSION.max_heap_table_size=5*1000000;
# Must not crash. # 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; DROP TABLE t1;
SET @@SESSION.sort_buffer_size=default; SET @@SESSION.sort_buffer_size=default;
SET @@SESSION.max_heap_table_size=default; SET @@SESSION.max_heap_table_size=default;
......
...@@ -10,8 +10,10 @@ SET @@SESSION.sort_buffer_size=5*16*1000000; ...@@ -10,8 +10,10 @@ SET @@SESSION.sort_buffer_size=5*16*1000000;
SET @@SESSION.max_heap_table_size=5*1000000; SET @@SESSION.max_heap_table_size=5*1000000;
--echo # Must not crash. --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; SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a;
--enable_result_log
DROP TABLE t1; DROP TABLE t1;
SET @@SESSION.sort_buffer_size=default; SET @@SESSION.sort_buffer_size=default;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment