mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Reverting fix for bug#14329288
revid that is being reverted: marko.makela@oracle.com-20121128070024-hb56t41limja8edz
This commit is contained in:
parent
c1f9f122d5
commit
60fff18d77
2 changed files with 4 additions and 22 deletions
|
@ -1,9 +1,3 @@
|
|||
2012-11-28 The InnoDB Team
|
||||
|
||||
* buf/buf0buf.c:
|
||||
Fix Bug#14329288 IS THE CALL TO IBUF_MERGE_OR_DELETE_FOR_PAGE FROM
|
||||
BUF_PAGE_GET_GEN REDUNDANT?
|
||||
|
||||
2012-11-15 The InnoDB Team
|
||||
|
||||
* include/data0type.ic, include/rem0rec.h,
|
||||
|
|
|
@ -1786,26 +1786,14 @@ wait_until_unfixed:
|
|||
|
||||
buf_page_free_descriptor(bpage);
|
||||
|
||||
/* Decompress the page while not holding
|
||||
buf_pool_mutex or block->mutex. */
|
||||
/* Decompress the page and apply buffered operations
|
||||
while not holding buf_pool_mutex or block->mutex. */
|
||||
success = buf_zip_decompress(block, srv_use_checksums);
|
||||
ut_a(success);
|
||||
|
||||
if (UNIV_LIKELY(!recv_no_ibuf_operations)) {
|
||||
unsigned accessed;
|
||||
|
||||
mutex_enter(&block->mutex);
|
||||
accessed = buf_page_is_accessed(&block->page);
|
||||
mutex_exit(&block->mutex);
|
||||
|
||||
if (accessed) {
|
||||
#ifdef UNIV_IBUF_COUNT_DEBUG
|
||||
ut_a(ibuf_count_get(space, offset) == 0);
|
||||
#endif /* UNIV_IBUF_COUNT_DEBUG */
|
||||
} else {
|
||||
ibuf_merge_or_delete_for_page(
|
||||
block, space, offset, zip_size, TRUE);
|
||||
}
|
||||
ibuf_merge_or_delete_for_page(block, space, offset,
|
||||
zip_size, TRUE);
|
||||
}
|
||||
|
||||
/* Unfix and unlatch the block. */
|
||||
|
|
Loading…
Reference in a new issue