Commit 7fee10d5 authored by marko's avatar marko

branches/zip: row_sel_try_search_shortcut(), row_sel(): Adjust two

debug assertions that should have been adjusted in r3575.
parent e5d3b66e
......@@ -1229,7 +1229,7 @@ row_sel_try_search_shortcut(
goto func_exit;
}
ut_ad(plan->pcur.latch_mode == node->latch_mode);
ut_ad(plan->pcur.latch_mode == BTR_SEARCH_LEAF);
plan->n_rows_fetched++;
ret = SEL_FOUND;
......@@ -1729,7 +1729,7 @@ skip_lock:
plan->n_rows_fetched++;
ut_ad(plan->pcur.latch_mode == node->latch_mode);
ut_ad(plan->pcur.latch_mode == BTR_SEARCH_LEAF);
if ((plan->n_rows_fetched <= SEL_PREFETCH_LIMIT)
|| plan->unique_search || plan->no_prefetch
......
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