Skip to content

Commit 099ba34

Browse files
committed
Fixes for innodb crash recovery tests from Serg
1 parent 3599b49 commit 099ba34

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ERROR 42000: Unknown storage engine 'InnoDB'
2525
FOUND 1 /syntax error in innodb_log_group_home_dir/ in mysqld.1.err
2626
SELECT * FROM t1;
2727
ERROR 42000: Unknown storage engine 'InnoDB'
28-
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=/ in mysqld.1.err
28+
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=.*/ in mysqld.1.err
2929
SELECT * FROM t1;
3030
ERROR 42000: Unknown storage engine 'InnoDB'
3131
SELECT * FROM t1;

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ BEGIN;
2929
INSERT INTO t1 VALUES (42);
3030

3131
let $restart_parameters = --innodb-log-file-size=6M;
32+
let $shutdown_timeout=0;
3233
--source include/restart_mysqld.inc
3334

3435
SELECT * FROM t1;
@@ -39,6 +40,7 @@ DELETE FROM t1;
3940

4041
let $restart_parameters = --innodb-log-files-in-group=3 --innodb-log-file-size=5M;
4142
--source include/restart_mysqld.inc
43+
let $shutdown_timeout=;
4244

4345
SELECT * FROM t1;
4446

@@ -72,7 +74,7 @@ let SEARCH_PATTERN= syntax error in innodb_log_group_home_dir;
7274
--source include/restart_mysqld.inc
7375
--error ER_UNKNOWN_STORAGE_ENGINE
7476
SELECT * FROM t1;
75-
let SEARCH_PATTERN= InnoDB: Starting crash recovery from checkpoint LSN=;
77+
let SEARCH_PATTERN= InnoDB: Starting crash recovery from checkpoint LSN=.*;
7678
--source include/search_pattern_in_file.inc
7779

7880
--let $restart_parameters= --debug=d,innodb_log_abort_3

mysql-test/suite/innodb_fts/t/crash_recovery.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ROLLBACK;
4747
--disconnect flush_redo_log
4848
--connection default
4949

50+
let $shutdown_timeout=0;
5051
--source include/restart_mysqld.inc
5152

5253
# This insert will re-initialize the Doc ID counter, it should not crash

0 commit comments

Comments
 (0)