Update filesort_debug.test (see comment #1 in MDEV-4786 for analysis)

This commit is contained in:
Sergey Petrunya 2013-07-24 10:05:12 +04:00
parent b2aea91fcb
commit b40c316fc7
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ INSERT INTO t1(f1) VALUES (0),(1),(2),(3),(4),(5);
SET session debug_dbug= '+d,alloc_sort_buffer_fail';
CALL mtr.add_suppression("Out of sort memory");
SELECT * FROM t1 ORDER BY f1 ASC, f0;
ERROR HY001: Out of sort memory, consider increasing server sort buffer size
Got one of the listed errors
SET session debug_dbug= @old_debug;
CREATE FUNCTION f1() RETURNS INT RETURN 1;
DELETE FROM t1 ORDER BY (f1(10)) LIMIT 1;

View File

@ -13,7 +13,7 @@ INSERT INTO t1(f1) VALUES (0),(1),(2),(3),(4),(5);
SET session debug_dbug= '+d,alloc_sort_buffer_fail';
CALL mtr.add_suppression("Out of sort memory");
--error ER_OUT_OF_SORTMEMORY
--error ER_OUT_OF_SORTMEMORY,ER_OUT_OF_RESOURCES
SELECT * FROM t1 ORDER BY f1 ASC, f0;
SET session debug_dbug= @old_debug;