diff options
Diffstat (limited to 'storage/innobase/btr/btr0pcur.cc')
| -rw-r--r-- | storage/innobase/btr/btr0pcur.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/storage/innobase/btr/btr0pcur.cc b/storage/innobase/btr/btr0pcur.cc index eb7f452749f..0e6aaa0d6b2 100644 --- a/storage/innobase/btr/btr0pcur.cc +++ b/storage/innobase/btr/btr0pcur.cc @@ -420,13 +420,8 @@ btr_pcur_t::restore_position(ulint restore_latch_mode, mtr_t *mtr) mode = PAGE_CUR_UNSUPP; } - if (btr_pcur_open_with_no_init_func( - index, tuple, mode, restore_latch_mode, - this, -#ifdef BTR_CUR_HASH_ADAPT - nullptr, -#endif /* BTR_CUR_HASH_ADAPT */ - mtr) != DB_SUCCESS) { + if (btr_pcur_open_with_no_init(index, tuple, mode, restore_latch_mode, + this, mtr) != DB_SUCCESS) { mem_heap_free(heap); return restore_status::CORRUPTED; } |
