File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ DROP PROCEDURE dorepeat;
22
22
SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard";
23
23
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
24
24
INSERT INTO t1 SELECT * FROM seq_1_to_65536;
25
- # restart: --innodb_buffer_pool_size=5242880 --debug_dbug=+d,ibuf_init_corrupt
25
+ # restart: with restart_parameters
26
26
# restart
27
27
SHOW CREATE TABLE t1;
28
28
Table Create Table
Original file line number Diff line number Diff line change 1
1
--source include/have_innodb.inc
2
2
--source include/big_test.inc
3
3
--source include/have_sequence.inc
4
+ --source include/maybe_debug.inc
4
5
call mtr.add_suppression("InnoDB: The change buffer is corrupted");
5
6
call mtr.add_suppression("InnoDB: Plugin initialization aborted at srv0start.cc");
6
7
call mtr.add_suppression("Plugin 'InnoDB' init function returned error");
@@ -30,12 +31,20 @@ DROP PROCEDURE dorepeat;
30
31
--echo # MDEV-30552 InnoDB recovery crashes when error
31
32
--echo # handling scenario
32
33
--echo #
34
+ if ($have_debug) {
33
35
SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard";
36
+ let $restart_parameters=--innodb_buffer_pool_size=5242880 --debug_dbug="+d,ibuf_init_corrupt";
37
+ }
38
+ if (!$have_debug) {
39
+ --echo SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard";
40
+ let $restart_parameters=--innodb_buffer_pool_size=5242880;
41
+ }
34
42
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
35
43
INSERT INTO t1 SELECT * FROM seq_1_to_65536;
44
+ let $restart_noprint=1;
36
45
let $shutdown_timeout=0;
37
- let $restart_parameters=--innodb_buffer_pool_size=5242880 --debug_dbug="+d,ibuf_init_corrupt";
38
46
--source include/restart_mysqld.inc
47
+ let $restart_noprint=0;
39
48
let $restart_parameters=;
40
49
--source include/restart_mysqld.inc
41
50
SHOW CREATE TABLE t1;
You can’t perform that action at this time.
0 commit comments