From ed0793e096a17955c5a03844b248bcf8303dd335 Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Wed, 2 Oct 2019 22:47:45 +0300 Subject: 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 --- storage/innobase/page/page0cur.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'storage/innobase/page/page0cur.cc') 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 -- cgit v1.2.1