mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Make the test innodb.recovery_shutdown more robust
Before killing the server, we have to FLUSH TABLES in order to prevent the corruption of any MyISAM system tables.
This commit is contained in:
@ -41,7 +41,11 @@ INSERT INTO t1(a) SELECT NULL FROM t1;
|
||||
SET GLOBAL innodb_flush_log_at_trx_commit=1;
|
||||
CREATE TABLE u(a SERIAL) ENGINE=INNODB;
|
||||
|
||||
--source include/kill_and_restart_mysqld.inc
|
||||
FLUSH TABLES;
|
||||
|
||||
--let $shutdown_timeout=0
|
||||
--source include/restart_mysqld.inc
|
||||
--let $shutdown_timeout=60
|
||||
--source include/restart_mysqld.inc
|
||||
|
||||
--disable_query_log
|
||||
|
Reference in New Issue
Block a user