mirror of
https://github.com/MariaDB/server.git
synced 2025-07-21 21:22:27 +03:00
29 lines
766 B
Plaintext
29 lines
766 B
Plaintext
--source include/have_innodb.inc
|
|
# Embedded server tests do not support restarting.
|
|
--source include/not_embedded.inc
|
|
# InnoDB: Cannot read first page of './ibdata1' I/O error
|
|
--source include/not_valgrind.inc
|
|
|
|
call mtr.add_suppression("InnoDB: Failed to set .*DIRECT");
|
|
--replace_result unbuffered fsync
|
|
select @@innodb_flush_method;
|
|
|
|
create table t(a serial) engine=innodb;
|
|
|
|
# kill and restart
|
|
FLUSH TABLES;
|
|
let $shutdown_timeout= 0;
|
|
let $restart_parameters=--innodb-flush-method=5;
|
|
--source include/restart_mysqld.inc
|
|
select @@innodb_flush_method;
|
|
|
|
insert into t values(0);
|
|
# kill and restart
|
|
FLUSH TABLES;
|
|
let $shutdown_timeout= 0;
|
|
let $restart_parameters=--innodb-flush-method=0;
|
|
--source include/restart_mysqld.inc
|
|
select @@innodb_flush_method;
|
|
|
|
drop table t;
|