vinyl: cleanup usage of tuple comparison functions
- Use vy_tuple_compare() instead of vy_stmt_compare() in places where we know that both arguments are tuples (type != SELECT). - Use vy_tuple_compare() instead of tuple_compare() in the write iterator to assure that none of its arguments happens to be a key. - Use vy_stmt_compare() instead of vy_tuple_compare_with_key() in the read iterator when comparing the resulting statement to the search key, because the search key may be a tuple.
Showing
- src/box/vy_cache.c 4 additions, 4 deletionssrc/box/vy_cache.c
- src/box/vy_cache.h 2 additions, 2 deletionssrc/box/vy_cache.h
- src/box/vy_mem.c 7 additions, 7 deletionssrc/box/vy_mem.c
- src/box/vy_mem.h 1 addition, 1 deletionsrc/box/vy_mem.h
- src/box/vy_read_iterator.c 2 additions, 2 deletionssrc/box/vy_read_iterator.c
- src/box/vy_run.c 9 additions, 9 deletionssrc/box/vy_run.c
- src/box/vy_tx.c 3 additions, 3 deletionssrc/box/vy_tx.c
- src/box/vy_write_iterator.c 1 addition, 1 deletionsrc/box/vy_write_iterator.c
Loading
Please register or sign in to comment