summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-09-06 09:52:08 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-09-06 09:52:08 +0300
commit027a9963b052fd086a839f2e190a6988de1e17a9 (patch)
tree0f5c48dc0a1a30727f08548382865285778d6f06
parent19de8b7013536d61afcec2c0a4f2b4ccc5bf6b0d (diff)
downloadmariadb-git-027a9963b052fd086a839f2e190a6988de1e17a9.tar.gz
MDEV-13542 fixup: Allow purge to run in a test
-rw-r--r--mysql-test/suite/innodb/t/leaf_page_corrupted_during_recovery.test6
1 files 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