Commit bce845ad authored by sunny's avatar sunny

branches/innodb+: The debug assertion should check for the case where the

zip size can be 0.
parent 362369ae
...@@ -238,7 +238,7 @@ ibuf_index_page_calc_free( ...@@ -238,7 +238,7 @@ ibuf_index_page_calc_free(
0 for uncompressed pages */ 0 for uncompressed pages */
const buf_block_t* block) /* in: buffer block */ const buf_block_t* block) /* in: buffer block */
{ {
ut_ad(zip_size == buf_block_get_zip_size(block)); ut_ad(zip_size == 0 || zip_size == buf_block_get_zip_size(block));
if (!zip_size) { if (!zip_size) {
ulint max_ins_size; ulint max_ins_size;
......
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