MDEV-23456: After-merge fix

In merge commit 34212233634b53a4fea7f662c43c19028aec2c2a
buf_page_create() passed the wrong parameter to
one of the buf_LRU_block_free_non_file_page() calls.
This commit is contained in:
Marko Mäkelä 2020-09-24 16:16:16 +03:00
parent e57c1167ab
commit 1adb537806

View File

@ -3860,7 +3860,7 @@ loop:
if (block->page.io_fix() != BUF_IO_NONE)
{
hash_lock->write_unlock();
buf_LRU_block_free_non_file_page(block);
buf_LRU_block_free_non_file_page(free_block);
mutex_exit(&buf_pool.mutex);
goto loop;
}