summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-02-24 15:13:00 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-02-24 15:13:00 +0200
commit956e12d63919571dd0623d5621d1a44f04ff372e (patch)
tree2dcd424a519c2084b6f0d6ed6a71aa8f619338b8
parent572d20757be38157fa2309c35efdec19e68087f1 (diff)
downloadmariadb-git-956e12d63919571dd0623d5621d1a44f04ff372e.tar.gz
MDEV-12353: Fix cmake -DWITH_INNODB_EXTRA_DEBUG
The compilation was accidentally broken in commit 22f649a67a26d98ed46b57ebe42799f4717e27bf.
-rw-r--r--storage/innobase/page/page0page.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/page/page0page.cc b/storage/innobase/page/page0page.cc
index 8947a449ab4..582c8df4086 100644
--- a/storage/innobase/page/page0page.cc
+++ b/storage/innobase/page/page0page.cc
@@ -847,7 +847,7 @@ page_delete_rec_list_end(
ut_ad(index->table->not_redundant() == !!page_is_comp(block->frame));
#ifdef UNIV_ZIP_DEBUG
ut_a(!block->page.zip.data ||
- page_zip_validate(block->page.zip, block->frame, index));
+ page_zip_validate(&block->page.zip, block->frame, index));
#endif /* UNIV_ZIP_DEBUG */
if (page_rec_is_supremum(rec))
@@ -897,7 +897,7 @@ page_delete_rec_list_end(
ULINT_UNDEFINED, &heap);
rec= rec_get_next_ptr(rec, TRUE);
#ifdef UNIV_ZIP_DEBUG
- ut_a(page_zip_validate(block->page.zip.data, block->frame, index));
+ ut_a(page_zip_validate(&block->page.zip, block->frame, index));
#endif /* UNIV_ZIP_DEBUG */
page_cur_delete_rec(&cur, index, offsets, mtr);
}