1
0
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:
Monty
2021-09-21 15:03:04 +03:00
parent d6bddfca22
commit f2021b5ee4
2 changed files with 4 additions and 2 deletions

View File

@ -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