summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/dict/dict0load.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc
index a69f645758f..69ace91d42a 100644
--- a/storage/innobase/dict/dict0load.cc
+++ b/storage/innobase/dict/dict0load.cc
@@ -1875,6 +1875,10 @@ dict_load_indexes(
}
if (err_msg == dict_load_index_del) {
+ if (rec[8 + 8 + DATA_TRX_ID_LEN + DATA_ROLL_PTR_LEN]
+ != static_cast<byte>(*TEMP_INDEX_PREFIX_STR)) {
+ goto next_rec;
+ }
const trx_id_t id = mach_read_from_6(rec + 8 + 8);
if (id > table->def_trx_id) {
table->def_trx_id = id;