diff options
author | Elena Stepanova <elenst@mariadb.com> | 2020-08-03 02:42:07 +0300 |
---|---|---|
committer | Elena Stepanova <elenst@mariadb.com> | 2020-08-03 02:42:07 +0300 |
commit | dbb4572fe95bbf7f32949d6ab9228f4891e2f147 (patch) | |
tree | da7fe398099e87d2206110fe6f1f87a1f9151cf7 | |
parent | 7a4287d42170b4b901f973cf9b7da8a2f77998d1 (diff) | |
download | mariadb-git-dbb4572fe95bbf7f32949d6ab9228f4891e2f147.tar.gz |
MDEV-23375 parts.partition_debug fails when it's run after another test
Make sure system tables aren't open, as the test kills the server
-rw-r--r-- | mysql-test/suite/parts/r/partition_debug.result | 1 | ||||
-rw-r--r-- | mysql-test/suite/parts/t/partition_debug.test | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/parts/r/partition_debug.result b/mysql-test/suite/parts/r/partition_debug.result index d0efd9d7c2a..0a8b8d20520 100644 --- a/mysql-test/suite/parts/r/partition_debug.result +++ b/mysql-test/suite/parts/r/partition_debug.result @@ -1,3 +1,4 @@ +FLUSH TABLES; # # Bug#13737949: CRASH IN HA_PARTITION::INDEX_INIT # Bug#18694052: SERVER CRASH IN HA_PARTITION::INIT_RECORD_PRIORITY_QUEUE diff --git a/mysql-test/suite/parts/t/partition_debug.test b/mysql-test/suite/parts/t/partition_debug.test index ef12ee99948..183a9b750d6 100644 --- a/mysql-test/suite/parts/t/partition_debug.test +++ b/mysql-test/suite/parts/t/partition_debug.test @@ -8,6 +8,10 @@ # Crash tests don't work with embedded --source include/not_embedded.inc +# Make sure system tables are not open, as the test will kill the server +# and it will cause corruption errors in the log +FLUSH TABLES; + # Partitioning test that require debug features --echo # |