Skip to content
Snippets Groups Projects
Commit ec8d56c5 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy Committed by Roman Tsisyk
Browse files

vinyl: fix run_iterator to correctly process LE selects

If the iterator type is ITER_LE and a run_iterator can not find
a start page (all page min_keys are >= select key), it would
iterate over all pages starting from the last.

Fix it by setting search_ended flag at the page search phase, before
calling next_key.

Closes #2614
parent 0334e3e3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment