diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-09 16:45:36 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-09 16:45:36 +0200 |
commit | a75ec07b425c9a9be75b70263de3aa1de09f4211 (patch) | |
tree | f87b94425264ae4781b59309b2e4a6c310d6c35f | |
parent | e56c12b3cdf57ad29cee0ffe33bd6bc44c963789 (diff) | |
download | mariadb-git-a75ec07b425c9a9be75b70263de3aa1de09f4211.tar.gz |
MDEV-27234 fixup: Remove a bogus assertion
Starting with commit 8f8ba758559e473f643baa0a0601d321c42517b9
the assertion would fail in
./mtr --mysqld=--innodb-adaptive-hash-index innodb.instant_alter_crash
and it would keep failing even after
commit d2e649aec2b67b224c4090c7c13a8c541bad9c12
-rw-r--r-- | storage/innobase/btr/btr0cur.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc index d52f061827f..af28557364b 100644 --- a/storage/innobase/btr/btr0cur.cc +++ b/storage/innobase/btr/btr0cur.cc @@ -2393,9 +2393,8 @@ need_opposite_intention: page hash index, while holding search latch. */ if (!btr_search_enabled) { } else if (tuple->info_bits & REC_INFO_MIN_REC_FLAG) { - ut_ad(index->is_instant()); /* This may be a search tuple for - btr_pcur_restore_position(). */ + btr_pcur_t::restore_position(). */ ut_ad(tuple->is_metadata() || (tuple->is_metadata(tuple->info_bits ^ REC_STATUS_INSTANT))); |