| 1 |
--source include/have_innodb.inc |
| 2 |
# Embedded server tests do not support restarting. |
| 3 |
--source include/not_embedded.inc |
| 4 |
# InnoDB: Cannot read first page of './ibdata1' I/O error |
| 5 |
--source include/not_valgrind.inc |
| 6 |
|
| 7 |
call mtr.add_suppression("InnoDB: Failed to set .*DIRECT"); |
| 8 |
--replace_result unbuffered fsync |
| 9 |
select @@innodb_flush_method; |
| 10 |
|
| 11 |
create table t(a serial) engine=innodb; |
| 12 |
|
| 13 |
# kill and restart |
| 14 |
FLUSH TABLES; |
| 15 |
let $shutdown_timeout= 0; |
| 16 |
let $restart_parameters=--innodb-flush-method=5; |
| 17 |
--source include/restart_mysqld.inc |
| 18 |
select @@innodb_flush_method; |
| 19 |
|
| 20 |
insert into t values(0); |
| 21 |
# kill and restart |
| 22 |
FLUSH TABLES; |
| 23 |
let $shutdown_timeout= 0; |
| 24 |
let $restart_parameters=--innodb-flush-method=0; |
| 25 |
--source include/restart_mysqld.inc |
| 26 |
select @@innodb_flush_method; |
| 27 |
|
| 28 |
drop table t; |