Commit 099ba346 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fixes for innodb crash recovery tests from Serg

parent 3599b498
......@@ -25,7 +25,7 @@ ERROR 42000: Unknown storage engine 'InnoDB'
FOUND 1 /syntax error in innodb_log_group_home_dir/ in mysqld.1.err
SELECT * FROM t1;
ERROR 42000: Unknown storage engine 'InnoDB'
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=/ in mysqld.1.err
FOUND 1 /InnoDB: Starting crash recovery from checkpoint LSN=.*/ in mysqld.1.err
SELECT * FROM t1;
ERROR 42000: Unknown storage engine 'InnoDB'
SELECT * FROM t1;
......
......@@ -29,6 +29,7 @@ BEGIN;
INSERT INTO t1 VALUES (42);
let $restart_parameters = --innodb-log-file-size=6M;
let $shutdown_timeout=0;
--source include/restart_mysqld.inc
SELECT * FROM t1;
......@@ -39,6 +40,7 @@ DELETE FROM t1;
let $restart_parameters = --innodb-log-files-in-group=3 --innodb-log-file-size=5M;
--source include/restart_mysqld.inc
let $shutdown_timeout=;
SELECT * FROM t1;
......@@ -72,7 +74,7 @@ let SEARCH_PATTERN= syntax error in innodb_log_group_home_dir;
--source include/restart_mysqld.inc
--error ER_UNKNOWN_STORAGE_ENGINE
SELECT * FROM t1;
let SEARCH_PATTERN= InnoDB: Starting crash recovery from checkpoint LSN=;
let SEARCH_PATTERN= InnoDB: Starting crash recovery from checkpoint LSN=.*;
--source include/search_pattern_in_file.inc
--let $restart_parameters= --debug=d,innodb_log_abort_3
......
......@@ -47,6 +47,7 @@ ROLLBACK;
--disconnect flush_redo_log
--connection default
let $shutdown_timeout=0;
--source include/restart_mysqld.inc
# This insert will re-initialize the Doc ID counter, it should not crash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment