Skip to content
Snippets Groups Projects
Commit 3dd29307 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Konstantin Osipov
Browse files

vinyl: simplify vy_run_iterator_next_key

vy_run_iterator_next_key() has to special-case LE/LT for the first
and the last page. This is needed, because this function is used by
vy_read_iterator_seek() for starting iteration. Actually, there's no
point for vy_read_iterator_seek() to use vy_read_iterator_next_key() -
vy_read_iterator_next_pos() + vy_read_iterator_find_lsn() would be
enough. Bearing this in mind, simplify vy_run_iterator_next_key().
parent 019fbd01
No related branches found
No related tags found
Loading
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