summaryrefslogtreecommitdiff
path: root/storage/innobase/buf/buf0lru.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-09-11 16:42:54 +0200
committerSergei Golubchik <sergii@pisem.net>2014-09-11 16:42:54 +0200
commit75796d9ecb50509b0c462c4aa67d40fee0d9fd24 (patch)
treefc721141a39cd7092ee84add25a3597a6e74ca4a /storage/innobase/buf/buf0lru.cc
parentc30a8442e8324f53f9157aabcc0330db0cd2e95f (diff)
parent993395bfa090266eb0ded41173130268a3ff01e7 (diff)
downloadmariadb-git-75796d9ecb50509b0c462c4aa67d40fee0d9fd24.tar.gz
InnoDB 5.6.20
Diffstat (limited to 'storage/innobase/buf/buf0lru.cc')
-rw-r--r--storage/innobase/buf/buf0lru.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/storage/innobase/buf/buf0lru.cc b/storage/innobase/buf/buf0lru.cc
index 64409e1993d..8574a6101e7 100644
--- a/storage/innobase/buf/buf0lru.cc
+++ b/storage/innobase/buf/buf0lru.cc
@@ -1818,13 +1818,6 @@ buf_LRU_free_page(
rw_lock_x_lock(hash_lock);
mutex_enter(block_mutex);
-#if UNIV_WORD_SIZE == 4
- /* On 32-bit systems, there is no padding in buf_page_t. On
- other systems, Valgrind could complain about uninitialized pad
- bytes. */
- UNIV_MEM_ASSERT_RW(bpage, sizeof *bpage);
-#endif
-
if (!buf_page_can_relocate(bpage)) {
/* Do not free buffer fixed or I/O-fixed blocks. */
@@ -1862,12 +1855,6 @@ func_exit:
ut_ad(buf_page_in_file(bpage));
ut_ad(bpage->in_LRU_list);
ut_ad(!bpage->in_flush_list == !bpage->oldest_modification);
-#if UNIV_WORD_SIZE == 4
- /* On 32-bit systems, there is no padding in buf_page_t. On
- other systems, Valgrind could complain about uninitialized pad
- bytes. */
- UNIV_MEM_ASSERT_RW(bpage, sizeof *bpage);
-#endif
#ifdef UNIV_DEBUG
if (buf_debug_prints) {
@@ -1940,13 +1927,6 @@ func_exit:
ut_ad(prev_b->in_LRU_list);
ut_ad(buf_page_in_file(prev_b));
-#if UNIV_WORD_SIZE == 4
- /* On 32-bit systems, there is no
- padding in buf_page_t. On other
- systems, Valgrind could complain about
- uninitialized pad bytes. */
- UNIV_MEM_ASSERT_RW(prev_b, sizeof *prev_b);
-#endif
UT_LIST_INSERT_AFTER(LRU, buf_pool->LRU,
prev_b, b);
@@ -2172,13 +2152,6 @@ buf_LRU_block_remove_hashed(
ut_a(buf_page_get_io_fix(bpage) == BUF_IO_NONE);
ut_a(bpage->buf_fix_count == 0);
-#if UNIV_WORD_SIZE == 4
- /* On 32-bit systems, there is no padding in
- buf_page_t. On other systems, Valgrind could complain
- about uninitialized pad bytes. */
- UNIV_MEM_ASSERT_RW(bpage, sizeof *bpage);
-#endif
-
buf_LRU_remove_block(bpage);
buf_pool->freed_page_clock += 1;