MDEV-13542 fixup: Allow purge to run in a test

This commit is contained in:
Marko Mäkelä 2022-09-06 09:52:08 +03:00
parent 19de8b7013
commit 027a9963b0

View file

@ -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