Skip to content

Commit dce490e

Browse files
committed
Give less memory to get reliable error.
1 parent dabc332 commit dce490e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mysql-test/r/truncate_notembedded.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
66
LOCK TABLE t1 READ;
77
connect con1,localhost,root,,test;
8-
SET SESSION max_session_mem_used= 65536;
8+
SET SESSION max_session_mem_used= 45500;
99
LOCK TABLE t1 WRITE;
1010
connection default;
1111
SELECT * FROM t1;
1212
a
1313
UNLOCK TABLES;
1414
connection con1;
1515
TRUNCATE TABLE t1;
16-
ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=65536 option so it cannot execute this statement
16+
ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=45500 option so it cannot execute this statement
1717
disconnect con1;
1818
connection default;
1919
DROP TABLE t1;

mysql-test/t/truncate_notembedded.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM;
99
LOCK TABLE t1 READ;
1010

1111
--connect (con1,localhost,root,,test)
12-
SET SESSION max_session_mem_used= 65536;
12+
SET SESSION max_session_mem_used= 45500;
1313
--send
1414
LOCK TABLE t1 WRITE;
1515

0 commit comments

Comments
 (0)