mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
branches/zip: row_sel_try_search_shortcut(), row_sel(): Adjust two
debug assertions that should have been adjusted in r3575.
This commit is contained in:
parent
4302847c99
commit
37187e09f1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue