Commit 956e12d6 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-12353: Fix cmake -DWITH_INNODB_EXTRA_DEBUG

The compilation was accidentally broken in
commit 22f649a6.
parent 572d2075
...@@ -847,7 +847,7 @@ page_delete_rec_list_end( ...@@ -847,7 +847,7 @@ page_delete_rec_list_end(
ut_ad(index->table->not_redundant() == !!page_is_comp(block->frame)); ut_ad(index->table->not_redundant() == !!page_is_comp(block->frame));
#ifdef UNIV_ZIP_DEBUG #ifdef UNIV_ZIP_DEBUG
ut_a(!block->page.zip.data || 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 */ #endif /* UNIV_ZIP_DEBUG */
if (page_rec_is_supremum(rec)) if (page_rec_is_supremum(rec))
...@@ -897,7 +897,7 @@ page_delete_rec_list_end( ...@@ -897,7 +897,7 @@ page_delete_rec_list_end(
ULINT_UNDEFINED, &heap); ULINT_UNDEFINED, &heap);
rec= rec_get_next_ptr(rec, TRUE); rec= rec_get_next_ptr(rec, TRUE);
#ifdef UNIV_ZIP_DEBUG #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 */ #endif /* UNIV_ZIP_DEBUG */
page_cur_delete_rec(&cur, index, offsets, mtr); page_cur_delete_rec(&cur, index, offsets, mtr);
} }
......
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