Commit dce490e9 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Give less memory to get reliable error.

parent dabc3329
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
CREATE TABLE t1 (a INT) ENGINE=MyISAM; CREATE TABLE t1 (a INT) ENGINE=MyISAM;
LOCK TABLE t1 READ; LOCK TABLE t1 READ;
connect con1,localhost,root,,test; connect con1,localhost,root,,test;
SET SESSION max_session_mem_used= 65536; SET SESSION max_session_mem_used= 45500;
LOCK TABLE t1 WRITE; LOCK TABLE t1 WRITE;
connection default; connection default;
SELECT * FROM t1; SELECT * FROM t1;
...@@ -13,7 +13,7 @@ a ...@@ -13,7 +13,7 @@ a
UNLOCK TABLES; UNLOCK TABLES;
connection con1; connection con1;
TRUNCATE TABLE t1; TRUNCATE TABLE t1;
ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=65536 option so it cannot execute this statement ERROR HY000: The MariaDB server is running with the --max-thread-mem-used=45500 option so it cannot execute this statement
disconnect con1; disconnect con1;
connection default; connection default;
DROP TABLE t1; DROP TABLE t1;
......
...@@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM; ...@@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM;
LOCK TABLE t1 READ; LOCK TABLE t1 READ;
--connect (con1,localhost,root,,test) --connect (con1,localhost,root,,test)
SET SESSION max_session_mem_used= 65536; SET SESSION max_session_mem_used= 45500;
--send --send
LOCK TABLE t1 WRITE; LOCK TABLE t1 WRITE;
......
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