summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/row/row0import.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/row/row0import.cc b/storage/innobase/row/row0import.cc
index 3a77e1f2c0a..d9feb3fb9db 100644
--- a/storage/innobase/row/row0import.cc
+++ b/storage/innobase/row/row0import.cc
@@ -1837,8 +1837,8 @@ PageConverter::update_index_page(
}
#ifdef UNIV_ZIP_DEBUG
- ut_a(!is_compressed_table()
- || page_zip_validate(m_page_zip_ptr, page, m_index->m_srv_index));
+ ut_a(!block->page.zip.data || page_zip_validate(&block->page.zip, page,
+ m_index->m_srv_index));
#endif /* UNIV_ZIP_DEBUG */
/* This has to be written to uncompressed index header. Set it to