mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
branches/zip: buf_LRU_free_block(): Note that
buf_LRU_block_remove_hashed_page() changes the state of the block. This error was introduced in r1090.
This commit is contained in:
parent
cbfc6cce6e
commit
cce8ff1503
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,9 @@ buf_LRU_free_block(
|
|||
buf_LRU_block_remove_hashed_page(bpage);
|
||||
|
||||
switch (buf_page_get_state(bpage)) {
|
||||
case BUF_BLOCK_FILE_PAGE:
|
||||
case BUF_BLOCK_REMOVE_HASH:
|
||||
/* The state was changed from BUF_BLOCK_FILE_PAGE
|
||||
in buf_LRU_block_remove_hashed_page(bpage). */
|
||||
mutex_exit(&(buf_pool->mutex));
|
||||
mutex_exit(block_mutex);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue