Commit 64b75865 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-34823 after-merge fix

btr_cur_t::search_leaf(): Remove a redundant condition.
This fixes up the merge commit cfa9784e
parent ff88633b
...@@ -1196,8 +1196,7 @@ dberr_t btr_cur_t::search_leaf(const dtuple_t *tuple, page_cur_mode_t mode, ...@@ -1196,8 +1196,7 @@ dberr_t btr_cur_t::search_leaf(const dtuple_t *tuple, page_cur_mode_t mode,
buf_page_get_gen(page_id, zip_size, rw_latch, guess, BUF_GET, mtr, &err); buf_page_get_gen(page_id, zip_size, rw_latch, guess, BUF_GET, mtr, &err);
if (!block) if (!block)
{ {
if (err != DB_SUCCESS) btr_read_failed(err, *index());
btr_read_failed(err, *index());
goto func_exit; goto func_exit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment