mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
branches/zip: Add missing NULL check to the assertion added in r2781.
This commit is contained in:
parent
5a22aa2f10
commit
7124a823ac
1 changed files with 1 additions and 1 deletions
|
@ -1769,7 +1769,7 @@ page_cur_delete_rec(
|
|||
#ifdef UNIV_ZIP_DEBUG
|
||||
/* Strict page_zip_validate() may fail here when
|
||||
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 */
|
||||
current_rec = cursor->rec;
|
||||
ut_ad(rec_offs_validate(current_rec, index, offsets));
|
||||
|
|
Loading…
Add table
Reference in a new issue