summaryrefslogtreecommitdiff
path: root/storage/innobase/page/page0cur.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-10-02 22:47:45 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-10-09 08:29:26 +0300
commited0793e096a17955c5a03844b248bcf8303dd335 (patch)
tree1498faf2b46e55c85d4d7e6dae8bfb924f6c5828 /storage/innobase/page/page0cur.cc
parent99dc40d6ac2234fa4c990665cc1914c1925cd641 (diff)
downloadmariadb-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/page/page0cur.cc')
-rw-r--r--storage/innobase/page/page0cur.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/innobase/page/page0cur.cc b/storage/innobase/page/page0cur.cc
index 4071db7b4d9..90c0dd377e1 100644
--- a/storage/innobase/page/page0cur.cc
+++ b/storage/innobase/page/page0cur.cc
@@ -2421,10 +2421,6 @@ page_cur_delete_rec(
if (cur_n_owned <= PAGE_DIR_SLOT_MIN_N_OWNED) {
page_dir_balance_slot(page, page_zip, cur_slot_no);
}
-
-#ifdef UNIV_ZIP_DEBUG
- ut_a(!page_zip || page_zip_validate(page_zip, page, index));
-#endif /* UNIV_ZIP_DEBUG */
}
#ifdef UNIV_COMPILE_TEST_FUNCS