diff options
author | Eugene Kosov <claprix@yandex.ru> | 2019-10-02 22:47:45 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-10-09 08:29:26 +0300 |
commit | ed0793e096a17955c5a03844b248bcf8303dd335 (patch) | |
tree | 1498faf2b46e55c85d4d7e6dae8bfb924f6c5828 /storage/innobase/include/page0page.ic | |
parent | 99dc40d6ac2234fa4c990665cc1914c1925cd641 (diff) | |
download | mariadb-git-ed0793e096a17955c5a03844b248bcf8303dd335.tar.gz |
MDEV-19783: Add more REC_INFO_MIN_REC_FLAG checks
btr_cur_pessimistic_delete(): code changed in a way that allows
to put more REC_INFO_MIN_REC_FLAG assertions inside btr_set_min_rec_mark().
Without that change tests innodb.innodb-table-online,
innodb.temp_table_savepoint and innodb_zip.prefix_index_liftedlimit fail.
Removed basically duplicated page_zip_validate() calls
which fails because of temporary(!) invariant violation.
That fixed innodb_zip.wl5522_debug_zip and
innodb_zip.prefix_index_liftedlimit
Diffstat (limited to 'storage/innobase/include/page0page.ic')
-rw-r--r-- | storage/innobase/include/page0page.ic | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/include/page0page.ic b/storage/innobase/include/page0page.ic index 05774daac50..3956ecce0ee 100644 --- a/storage/innobase/include/page0page.ic +++ b/storage/innobase/include/page0page.ic @@ -659,6 +659,10 @@ page_rec_get_next_low( return(NULL); } + ut_ad(page_rec_is_infimum(rec) + || !(rec_get_info_bits(page + offs, comp) + & REC_INFO_MIN_REC_FLAG)); + return(page + offs); } |