Skip to content

Commit 67a6ad0

Browse files
committed
Merge 10.5 into 10.6
2 parents 201cfc3 + d3f35aa commit 67a6ad0

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

mysql-test/suite/innodb/r/recovery_memory.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DROP PROCEDURE dorepeat;
2222
SET DEBUG_DBUG="+d,ib_log_checkpoint_avoid_hard";
2323
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
2424
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
2626
# restart
2727
SHOW CREATE TABLE t1;
2828
Table Create Table

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--source include/have_innodb.inc
22
--source include/big_test.inc
33
--source include/have_sequence.inc
4+
--source include/maybe_debug.inc
45
call mtr.add_suppression("InnoDB: The change buffer is corrupted");
56
call mtr.add_suppression("InnoDB: Plugin initialization aborted at srv0start.cc");
67
call mtr.add_suppression("Plugin 'InnoDB' init function returned error");
@@ -30,12 +31,20 @@ DROP PROCEDURE dorepeat;
3031
--echo # MDEV-30552 InnoDB recovery crashes when error
3132
--echo # handling scenario
3233
--echo #
34+
if ($have_debug) {
3335
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+
}
3442
CREATE TABLE t1(f1 INT NOT NULL)ENGINE=InnoDB;
3543
INSERT INTO t1 SELECT * FROM seq_1_to_65536;
44+
let $restart_noprint=1;
3645
let $shutdown_timeout=0;
37-
let $restart_parameters=--innodb_buffer_pool_size=5242880 --debug_dbug="+d,ibuf_init_corrupt";
3846
--source include/restart_mysqld.inc
47+
let $restart_noprint=0;
3948
let $restart_parameters=;
4049
--source include/restart_mysqld.inc
4150
SHOW CREATE TABLE t1;

0 commit comments

Comments
 (0)