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

vinyl: zap vy_run_iterator->curr_stmt_pos

vy_run_iterator_get() remembers the position of the last statement
returned by the iterator in curr_stmt_pos. It then uses it to skip
a disk read in case it is called again for the same iterator position.
The code is left from the time when iterators had public virtual
method 'get', which could be called several times without advancing
the iterator. Nowadays, vy_run_iterator_get() is never called twice
for the same iterator position (check coverity scan) so we can zap
this logic.
parent cc3e66a9
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