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

vinyl: teach memory iterator to skip statements on start

With the single in-memory tree per index, read iterator will reopen
memory iterator per each range, as it already does in case of txw and
cache iterators, so we need to teach memory iterator to skip to the
statement following the last key returned by read iterator. So this
patch adds a new parameter to memory iterator, before_first, which, if
not NULL, will make it start iteration from the first statement
following the key of before_first.
parent f9c0b99e
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