Skip to content
Snippets Groups Projects
Commit e5229867 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

vinyl: make sure next_lsn callback is only called after next_key

Currently, ->next_lsn() may be (and actually is) called right after
opening the iterator, which means that apart from advancing the iterator
to the next version of the same statement it has to handle the case of
starting iteration. This complicates the callback semantics so let's
require ->next_key() to be called first.
parent 4d2b53af
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