Commit 924c8c5b authored by Georgi Kodinov's avatar Georgi Kodinov

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

parent 5beae1f8
...@@ -7,7 +7,8 @@ INSERT INTO t1 VALUES ('a'); ...@@ -7,7 +7,8 @@ INSERT INTO t1 VALUES ('a');
SET @@SESSION.sort_buffer_size=5*16*1000000; 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;
......
...@@ -9,7 +9,8 @@ INSERT INTO t1 VALUES ('a'); ...@@ -9,7 +9,8 @@ INSERT INTO t1 VALUES ('a');
SET @@SESSION.sort_buffer_size=5*16*1000000; 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
SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a; SELECT GROUP_CONCAT(a ORDER BY a) FROM t1 GROUP BY a;
DROP TABLE t1; DROP TABLE t1;
......
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