summaryrefslogtreecommitdiff
path: root/storage/xtradb/page
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-09-11 16:44:16 +0200
committerSergei Golubchik <sergii@pisem.net>2014-09-11 16:44:16 +0200
commit4a68817d8d5a095dee316211f62e2fddf19fb68d (patch)
tree58c01c024846debf68be6bb8db30a540d0bb664c /storage/xtradb/page
parent75796d9ecb50509b0c462c4aa67d40fee0d9fd24 (diff)
parent89b6517c4ceb7b92c5c48315da709ca36811af1e (diff)
downloadmariadb-git-4a68817d8d5a095dee316211f62e2fddf19fb68d.tar.gz
XtraDB 5.6.20-68.0
Diffstat (limited to 'storage/xtradb/page')
-rw-r--r--storage/xtradb/page/page0zip.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/storage/xtradb/page/page0zip.cc b/storage/xtradb/page/page0zip.cc
index c4c8354aa1e..cb97e666e75 100644
--- a/storage/xtradb/page/page0zip.cc
+++ b/storage/xtradb/page/page0zip.cc
@@ -3283,24 +3283,8 @@ page_zip_validate_low(
temp_page_buf = static_cast<byte*>(ut_malloc(2 * UNIV_PAGE_SIZE));
temp_page = static_cast<byte*>(ut_align(temp_page_buf, UNIV_PAGE_SIZE));
-#ifdef UNIV_DEBUG_VALGRIND
- /* Get detailed information on the valid bits in case the
- UNIV_MEM_ASSERT_RW() checks fail. The v-bits of page[],
- page_zip->data[] or page_zip could be viewed at temp_page[] or
- temp_page_zip in a debugger when running valgrind --db-attach. */
- (void) VALGRIND_GET_VBITS(page, temp_page, UNIV_PAGE_SIZE);
UNIV_MEM_ASSERT_RW(page, UNIV_PAGE_SIZE);
-# if UNIV_WORD_SIZE == 4
- VALGRIND_GET_VBITS(page_zip, &temp_page_zip, sizeof temp_page_zip);
- /* On 32-bit systems, there is no padding in page_zip_des_t.
- On other systems, Valgrind could complain about uninitialized
- pad bytes. */
- UNIV_MEM_ASSERT_RW(page_zip, sizeof *page_zip);
-# endif
- (void) VALGRIND_GET_VBITS(page_zip->data, temp_page,
- page_zip_get_size(page_zip));
UNIV_MEM_ASSERT_RW(page_zip->data, page_zip_get_size(page_zip));
-#endif /* UNIV_DEBUG_VALGRIND */
temp_page_zip = *page_zip;
valid = page_zip_decompress(&temp_page_zip, temp_page, TRUE);