Skip to content

Commit

Permalink
MDEV-15772: Clean up the test
Browse files Browse the repository at this point in the history
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.
1 change: 1 addition & 0 deletions mysql-test/suite/innodb/r/xa_debug.result
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/innodb/t/xa_debug.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9264468

Please sign in to comment.