Commit 1adb5378 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-23456: After-merge fix

In merge commit 34212233
buf_page_create() passed the wrong parameter to
one of the buf_LRU_block_free_non_file_page() calls.
parent e57c1167
...@@ -3860,7 +3860,7 @@ buf_page_create(fil_space_t *space, uint32_t offset, ...@@ -3860,7 +3860,7 @@ buf_page_create(fil_space_t *space, uint32_t offset,
if (block->page.io_fix() != BUF_IO_NONE) if (block->page.io_fix() != BUF_IO_NONE)
{ {
hash_lock->write_unlock(); 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); mutex_exit(&buf_pool.mutex);
goto loop; goto loop;
} }
......
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