Commit 0d025934 authored by marko's avatar marko

branches/zip: buf_LRU_search_and_free_block(): Do not forbid the release

of the buffer pool mutex.  Apparently, it is temporarily released also
in older versions of MySQL/InnoDB for the duration of the
btr_search_drop_page_hash_index() call [in buf_LRU_free_block()].
parent 1cbf67cd
......@@ -267,7 +267,6 @@ buf_LRU_search_and_free_block(
ibool freed;
buf_pool_mutex_enter();
buf_pool_mutex_exit_forbid();
freed = FALSE;
bpage = UT_LIST_GET_LAST(buf_pool->LRU);
......@@ -356,7 +355,6 @@ buf_LRU_search_and_free_block(
if (!freed) {
buf_pool->LRU_flush_ended = 0;
}
buf_pool_mutex_exit_allow();
buf_pool_mutex_exit();
return(freed);
......
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