Commit 5d5bdb1b authored by marko's avatar marko

branches/zip: page_zip_dir_size(): Remove bogus debug assertion.

The function will be invoked in page_zip_decompress() before setting
page_zip->m_start or page_zip->m_end.
parent 7279a722
......@@ -66,7 +66,6 @@ page_zip_dir_size(
/* Exclude the page infimum and supremum from the record count. */
ulint size = PAGE_ZIP_DIR_SLOT_SIZE
* (page_dir_get_n_heap((page_t*) page_zip->data) - 2);
ut_ad(page_zip->m_end + size < page_zip->size);
return(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