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.
This commit is contained in:
Marko Mäkelä 2019-04-26 15:29:40 +03:00
parent 757daa4174
commit 926446880f
2 changed files with 2 additions and 0 deletions

View file

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

View file

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