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

vinyl: pin last statement returned by write iterator explicitly

Currently, the last statement returned by the write iterator is
referenced indirectly, via a read view. This works, because the write
iterator can only return a statement if it corresponds to a certain read
view.  However, in the scope of #2129, the write iterator will also have
to keep statements for which a deferred DELETE hasn't been generated
yet, even if no read view needs it. So let's make the write iterator
reference the last returned statement explicitly, i.e. via a dedicated
member of the write_iterator struct.

Needed for #2129
parent 2377baa2
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