mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
branches/zip: btr_compress(): Enclose an assertion inside
#ifdef UNIV_BTR_DEBUG, as it depends on other #ifdef UNIV_BTR_DEBUG code.
This commit is contained in:
parent
53fec05c38
commit
954237c01d
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue