mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed random failure of main.truncate_notembedded
The test depends on how the server allocates memory and may fail randomly. Fixed by accepting that TRUNCATE may work in some cases (happened to me)
This commit is contained in:
@ -19,7 +19,10 @@ UNLOCK TABLES;
|
||||
|
||||
--connection con1
|
||||
--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;
|
||||
|
||||
--disconnect con1
|
||||
|
Reference in New Issue
Block a user