Fixed random failure main/truncate_notembedded
Backport from 10.6
This commit is contained in:
parent
20a91b8fc5
commit
2f5d6ef039
@ -13,7 +13,6 @@ 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=45500 option so it cannot execute this statement
|
|
||||||
disconnect con1;
|
disconnect con1;
|
||||||
connection default;
|
connection default;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@ -18,8 +18,12 @@ SELECT * FROM t1;
|
|||||||
UNLOCK TABLES;
|
UNLOCK TABLES;
|
||||||
|
|
||||||
--connection con1
|
--connection con1
|
||||||
|
--error 0,ER_OPTION_PREVENTS_STATEMENT
|
||||||
--reap
|
--reap
|
||||||
--error ER_OPTION_PREVENTS_STATEMENT
|
# This may work or fail as different servers uses different amount of
|
||||||
|
# memory and the statement may work or not. What is important is that we
|
||||||
|
# don't get a crash here!
|
||||||
|
--error 0,ER_OPTION_PREVENTS_STATEMENT
|
||||||
TRUNCATE TABLE t1;
|
TRUNCATE TABLE t1;
|
||||||
|
|
||||||
--disconnect con1
|
--disconnect con1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user