Commit eb20e7c9 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-31353 InnoDB recovery hangs after reporting corruption

recv_recover_page(): Remove some code which was added in
commit 0b47c126 with
no good reason and which would cause a hang after a corrupted
page was reported during crash recovery.

Tested by: Matthias Leich
parent 30fb72ca
......@@ -3076,9 +3076,6 @@ static buf_block_t *recv_recover_page(buf_block_t *block, mtr_t &mtr,
|| recv_sys.is_corrupt_log()) && !srv_force_recovery) {
if (init) {
init->created = false;
if (space || block->page.id().page_no()) {
block->page.lock.x_lock_recursive();
}
}
mtr.discard_modifications();
......
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