mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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:
parent
757daa4174
commit
926446880f
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
|
||||
|
|
Loading…
Reference in a new issue