Commit 09e017ca authored by marko's avatar marko

branches/zip: btr_cur_search_to_nth_level(): Do not invoke page_zip_validate()

if rw_latch == RW_NO_LATCH.
parent d97b448b
......@@ -502,8 +502,10 @@ btr_cur_search_to_nth_level(
block = buf_block_align(page);
#ifdef UNIV_ZIP_DEBUG
ut_a(!buf_block_get_page_zip(block) || page_zip_validate(
buf_block_get_page_zip(block), page));
ut_a(rw_latch == RW_NO_LATCH
|| !buf_block_get_page_zip(block)
|| page_zip_validate(
buf_block_get_page_zip(block), page));
#endif /* UNIV_ZIP_DEBUG */
block->check_index_page_at_flush = TRUE;
......
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