vinyl: rename vy_stmt_env to vy_mem_env
vy_stmt_env doesn't really belong to vy_stmt infrastructure, actually it isn't used there at all, only created and destroyed. Let's rename it to vy_mem_env, move it to vy_mem.c, and replace vy_mem->allocator with a pointer to vy_mem_env. This will allow us to account memory tree blocks there. Needed for #934
Showing
- src/box/vinyl.c 18 additions, 18 deletionssrc/box/vinyl.c
- src/box/vy_index.c 8 additions, 11 deletionssrc/box/vy_index.c
- src/box/vy_index.h 4 additions, 6 deletionssrc/box/vy_index.h
- src/box/vy_mem.c 34 additions, 3 deletionssrc/box/vy_mem.c
- src/box/vy_mem.h 28 additions, 7 deletionssrc/box/vy_mem.h
- src/box/vy_stmt.c 1 addition, 24 deletionssrc/box/vy_stmt.c
- src/box/vy_stmt.h 0 additions, 22 deletionssrc/box/vy_stmt.h
- test/unit/vy_iterators_helper.c 13 additions, 4 deletionstest/unit/vy_iterators_helper.c
- test/unit/vy_iterators_helper.h 2 additions, 2 deletionstest/unit/vy_iterators_helper.h
- test/unit/vy_mem.c 2 additions, 8 deletionstest/unit/vy_mem.c
- test/unit/vy_point_iterator.c 5 additions, 12 deletionstest/unit/vy_point_iterator.c
- test/unit/vy_write_iterator.c 1 addition, 7 deletionstest/unit/vy_write_iterator.c
Loading
Please register or sign in to comment