Commit 954237c0 authored by marko's avatar marko

branches/zip: btr_compress(): Enclose an assertion inside

#ifdef UNIV_BTR_DEBUG, as it depends on other #ifdef UNIV_BTR_DEBUG code.
parent 53fec05c
......@@ -2437,9 +2437,11 @@ err_exit:
if (UNIV_UNLIKELY(!orig_succ)) {
ut_a(merge_page_zip);
#ifdef UNIV_BTR_DEBUG
/* FIL_PAGE_PREV was restored from merge_page_zip. */
ut_ad(!memcmp(fil_page_prev,
merge_page + FIL_PAGE_PREV, 4));
ut_a(!memcmp(fil_page_prev,
merge_page + FIL_PAGE_PREV, 4));
#endif /* UNIV_BTR_DEBUG */
goto err_exit;
}
......
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