From 027a9963b052fd086a839f2e190a6988de1e17a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 6 Sep 2022 09:52:08 +0300 Subject: [PATCH] MDEV-13542 fixup: Allow purge to run in a test --- .../suite/innodb/t/leaf_page_corrupted_during_recovery.test | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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