Introduce vy_cache unit test
And fix a bug in vy_cache_iterator_restore, which could ignore restore to a previous statement. Needed for #2614
Showing
- src/box/vy_cache.c 18 additions, 14 deletionssrc/box/vy_cache.c
- test/unit/CMakeLists.txt 14 additions, 11 deletionstest/unit/CMakeLists.txt
- test/unit/vy_cache.c 140 additions, 0 deletionstest/unit/vy_cache.c
- test/unit/vy_cache.result 11 additions, 0 deletionstest/unit/vy_cache.result
- test/unit/vy_iterators_helper.c 75 additions, 8 deletionstest/unit/vy_iterators_helper.c
- test/unit/vy_iterators_helper.h 50 additions, 0 deletionstest/unit/vy_iterators_helper.h
- test/unit/vy_mem.c 2 additions, 6 deletionstest/unit/vy_mem.c
- test/unit/vy_write_iterator.c 2 additions, 6 deletionstest/unit/vy_write_iterator.c
Loading
Please register or sign in to comment