Commit 7683ebd0 authored by marko's avatar marko

branches/zip: Fix some comments to say buf_pool_mutex.

parent a2e50d04
...@@ -245,7 +245,7 @@ static ulint buf_dbg_counter = 0; /* This is used to insert validation ...@@ -245,7 +245,7 @@ static ulint buf_dbg_counter = 0; /* This is used to insert validation
operations in excution in the operations in excution in the
debug version */ debug version */
/** Flag to forbid the release of the buffer pool mutex. /** Flag to forbid the release of the buffer pool mutex.
Protected by buf_pool->mutex. */ Protected by buf_pool_mutex. */
UNIV_INTERN ulint buf_pool_mutex_exit_forbidden = 0; UNIV_INTERN ulint buf_pool_mutex_exit_forbidden = 0;
#endif /* UNIV_DEBUG || UNIV_BUF_DEBUG */ #endif /* UNIV_DEBUG || UNIV_BUF_DEBUG */
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
......
...@@ -251,7 +251,7 @@ scan_again: ...@@ -251,7 +251,7 @@ scan_again:
if (num_entries < BUF_LRU_DROP_SEARCH_HASH_SIZE) { if (num_entries < BUF_LRU_DROP_SEARCH_HASH_SIZE) {
goto next_page; goto next_page;
} }
/* Array full. We release the buf_pool->mutex to /* Array full. We release the buf_pool_mutex to
obey the latching order. */ obey the latching order. */
buf_pool_mutex_exit(); buf_pool_mutex_exit();
......
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