Commit 30d5c84b authored by Satya Bodapati's avatar Satya Bodapati

Bug#18124788 - COMPRESSED TABLES REGRESSION FROM 5.6.13

After incrementing the number of pending uncompression operations,
buffer pool zip mutex can be released immediately.

Approved by Vasil. rb#4514
parent bec1ce66
/***************************************************************************** /*****************************************************************************
Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc. Copyright (c) 2008, Google Inc.
Portions of this file contain modifications contributed and copyrighted by Portions of this file contain modifications contributed and copyrighted by
...@@ -2479,11 +2479,11 @@ wait_until_unfixed: ...@@ -2479,11 +2479,11 @@ wait_until_unfixed:
UNIV_MEM_INVALID(bpage, sizeof *bpage); UNIV_MEM_INVALID(bpage, sizeof *bpage);
buf_pool->n_pend_unzip++; buf_pool->n_pend_unzip++;
mutex_exit(&buf_pool->zip_mutex);
buf_pool_mutex_exit(buf_pool); buf_pool_mutex_exit(buf_pool);
access_time = buf_page_is_accessed(&block->page); access_time = buf_page_is_accessed(&block->page);
mutex_exit(&block->mutex); mutex_exit(&block->mutex);
mutex_exit(&buf_pool->zip_mutex);
buf_page_free_descriptor(bpage); buf_page_free_descriptor(bpage);
......
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