Commit 626f02fb authored by marko's avatar marko

branches/zip: Add missing NULL check to the assertion added in r2781.

parent 11f1879b
...@@ -1769,7 +1769,7 @@ page_cur_delete_rec( ...@@ -1769,7 +1769,7 @@ page_cur_delete_rec(
#ifdef UNIV_ZIP_DEBUG #ifdef UNIV_ZIP_DEBUG
/* Strict page_zip_validate() may fail here when /* Strict page_zip_validate() may fail here when
btr_cur_pessimistic_delete() invokes btr_set_min_rec_mark(). */ btr_cur_pessimistic_delete() invokes btr_set_min_rec_mark(). */
ut_a(page_zip_validate_low(page_zip, page, TRUE)); ut_a(!page_zip || page_zip_validate_low(page_zip, page, TRUE));
#endif /* UNIV_ZIP_DEBUG */ #endif /* UNIV_ZIP_DEBUG */
current_rec = cursor->rec; current_rec = cursor->rec;
ut_ad(rec_offs_validate(current_rec, index, offsets)); ut_ad(rec_offs_validate(current_rec, index, offsets));
......
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