box: introduce tuple_chunk infrastructure
Introduced a new object tuple_chunk: a memory allocation is associated with given tuple. tuple_format's vtab is extended with few new methods to manage tuple_chunks lifecycle. Implemented corresponding methid for memtx engine: a memory chunks are allocated with memtx's smalloc allocator. Needed for #1260
Showing
- src/box/memtx_engine.c 30 additions, 0 deletionssrc/box/memtx_engine.c
- src/box/tuple.c 2 additions, 0 deletionssrc/box/tuple.c
- src/box/tuple.h 34 additions, 0 deletionssrc/box/tuple.h
- src/box/tuple_format.h 15 additions, 0 deletionssrc/box/tuple_format.h
- src/box/vy_stmt.c 2 additions, 0 deletionssrc/box/vy_stmt.c
Loading
Please register or sign in to comment