Skip to content
Permalink
Browse files
MDEV-15772: Clean up the test
Before killing the server, we must issue FLUSH TABLES in order
to cleanly close any MyISAM system tables, to avoid warnings about
them when restarting.
  • Loading branch information
dr-m committed Apr 26, 2019
1 parent 757daa4 commit 9264468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -201,6 +201,7 @@ xa start 'test1';
insert into t1 values(1);
xa end 'test1';
xa prepare 'test1';
FLUSH TABLES;
xa recover;
formatID gtrid_length bqual_length data
1 5 0 test1
@@ -20,6 +20,7 @@ dec $trial;

connection default;
# Kill and restart the server.
FLUSH TABLES;
-- exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
-- shutdown_server 0
-- source include/wait_until_disconnected.inc

0 comments on commit 9264468

Please sign in to comment.