Commit afa49d79 authored by Michael Widenius's avatar Michael Widenius

Fixed core dump when doing "SET GLOBAL innodb_buffer_pool_evict='uncompressed'"


storage/xtradb/handler/ha_innodb.cc:
  Fixed wrong last argument to buf_LRU_free_block(): The LRU chain is already locked by this function.
parent fd9f1638
...@@ -12650,7 +12650,7 @@ innodb_buffer_pool_evict_update( ...@@ -12650,7 +12650,7 @@ innodb_buffer_pool_evict_update(
mutex_enter(&block->mutex); mutex_enter(&block->mutex);
buf_LRU_free_block(&block->page, buf_LRU_free_block(&block->page,
FALSE, FALSE); FALSE, TRUE);
mutex_exit(&block->mutex); mutex_exit(&block->mutex);
block = prev_block; block = prev_block;
} }
......
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