Skip to content
Snippets Groups Projects
Commit 18ff5e73 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

vinyl: never pass NULL key to read iterators

Always use vy_tuple_key_part(key, 0) == NULL
as an indicator of NULL key.

Before this patch, some of the edge case optimizations in
run, mem and txv iterators didn't work, since they compared
input key with NULL, whereas it was set to a special key with zero
parts.

@todo: this is a yet another discrepancy stemming from distinct
tuple formats in memtx and vinyl.
parent 12ddcdcf
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