diff --git a/mysql-test/suite/innodb/t/leaf_page_corrupted_during_recovery.test b/mysql-test/suite/innodb/t/leaf_page_corrupted_during_recovery.test index ddf0090c9e2..21d5336528a 100644 --- a/mysql-test/suite/innodb/t/leaf_page_corrupted_during_recovery.test +++ b/mysql-test/suite/innodb/t/leaf_page_corrupted_during_recovery.test @@ -49,8 +49,8 @@ EOF --error ER_UNKNOWN_STORAGE_ENGINE SELECT * FROM t1 WHERE PK = 1; -# We will disable also purge, to not let it request the corrupted page. -let $restart_parameters=--innodb-force-recovery=2; +# Force recovery to ignore the corrupted page. +let $restart_parameters=--innodb-force-recovery=1; --source include/restart_mysqld.inc SELECT * FROM t1 WHERE PK = 1; --error ER_NOT_KEYFILE @@ -58,5 +58,3 @@ SELECT * FROM t1 WHERE pk = 12; CHECK TABLE t1; DROP TABLE t1; -let $restart_parameters=; ---source include/restart_mysqld.inc