From dbb4572fe95bbf7f32949d6ab9228f4891e2f147 Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Mon, 3 Aug 2020 02:42:07 +0300 Subject: [PATCH] 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 --- mysql-test/suite/parts/r/partition_debug.result | 1 + mysql-test/suite/parts/t/partition_debug.test | 4 ++++ 2 files changed, 5 insertions(+) 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 #