summaryrefslogtreecommitdiff
path: root/storage/xtradb/buf/buf0buddy.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/buf/buf0buddy.c')
-rw-r--r--storage/xtradb/buf/buf0buddy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/buf/buf0buddy.c b/storage/xtradb/buf/buf0buddy.c
index e6b80bcda55..12f7ad51aac 100644
--- a/storage/xtradb/buf/buf0buddy.c
+++ b/storage/xtradb/buf/buf0buddy.c
@@ -346,7 +346,7 @@ buf_buddy_alloc_low(
if (have_page_hash_mutex) {
rw_lock_x_unlock(&page_hash_latch);
}
- block = buf_LRU_get_free_block(0);
+ block = buf_LRU_get_free_block();
*lru = TRUE;
//buf_pool_mutex_enter();
mutex_enter(&LRU_list_mutex);
@@ -477,6 +477,7 @@ buf_buddy_relocate(
if (size >= PAGE_ZIP_MIN_SIZE) {
/* This is a compressed page. */
mutex_t* mutex;
+ ulint space, page_no;
if (!have_page_hash_mutex) {
mutex_exit(&zip_free_mutex);