Debian Codegraph @

mysql-test/suite/innodb/t/log_file_overwrite.test

raw
1 --source include/have_innodb.inc
2 --source include/have_sequence.inc
3 --source include/have_debug.inc
4
5 call mtr.add_suppression("InnoDB: Plugin initialization aborted");
6 call mtr.add_suppression("Fewer engines are enabled now than were before the crash");
7 call mtr.add_suppression("plugin 'InnoDB' registration as a STORAGE ENGINE failed.");
8 CREATE TABLE t1(f1 INT NOT NULL, f2 TEXT)ENGINE=InnoDB;
9 let $restart_parameters=--debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0;
10 --source include/restart_mysqld.inc
11 INSERT INTO t1 SELECT seq, repeat('a', 4000) FROM seq_1_to_1800;
12 let $restart_parameters=--debug_dbug=+d,before_final_redo_apply --innodb_log_file_size=8M;
13 let $shutdown_timeout=0;
14 --source include/restart_mysqld.inc
15 let $restart_parameters=--innodb_log_file_size=10M;
16 let $shutdown_timeout=;
17 --source include/restart_mysqld.inc
18
19 --echo #
20 --echo # MDEV-34519 innodb_log_checkpoint_now crashes when
21 --echo # innodb_read_only is enabled
22 --echo #
23 --let $restart_parameters=--innodb-force-recovery=6
24 --source include/restart_mysqld.inc
25 SET GLOBAL innodb_log_checkpoint_now=1;
26 --let $restart_parameters=--innodb-read-only=1
27 --source include/restart_mysqld.inc
28 SET GLOBAL innodb_log_checkpoint_now=1;
29 let $restart_parameters=;
30 --source include/restart_mysqld.inc
31
32 DROP TABLE t1;