mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
Give less memory to get reliable error.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
||||
LOCK TABLE t1 READ;
|
||||
connect con1,localhost,root,,test;
|
||||
SET SESSION max_session_mem_used= 65536;
|
||||
SET SESSION max_session_mem_used= 45500;
|
||||
LOCK TABLE t1 WRITE;
|
||||
connection default;
|
||||
SELECT * FROM t1;
|
||||
@@ -13,7 +13,7 @@ a
|
||||
UNLOCK TABLES;
|
||||
connection con1;
|
||||
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;
|
||||
connection default;
|
||||
DROP TABLE t1;
|
||||
|
||||
@@ -9,7 +9,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
||||
LOCK TABLE t1 READ;
|
||||
|
||||
--connect (con1,localhost,root,,test)
|
||||
SET SESSION max_session_mem_used= 65536;
|
||||
SET SESSION max_session_mem_used= 45500;
|
||||
--send
|
||||
LOCK TABLE t1 WRITE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user