Commit 4abda95a authored by sunny's avatar sunny

branches/innodb+: Fix a debug assertion.

parent 093fb51f
......@@ -1936,7 +1936,9 @@ buf_page_get_gen(
goto loop;
}
ut_ad(page_zip_get_size(&block->page.zip) == zip_size);
/* zip_size can be 0 if called from ibuf */
ut_ad(zip_size == 0
|| page_zip_get_size(&block->page.zip) == zip_size);
must_read = buf_block_get_io_fix(block) == BUF_IO_READ;
......
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