box: rework tuple_init_field_map to allocate field_map
Due to the fact that in the case of multikey indexes, the size of the field map may depend on a particular tuple, the tuple_int_field_map function has been reworked in such a way as to allocate the field map of the required size and return it. Needed for #1257
Showing
- src/box/memtx_engine.c 17 additions, 12 deletionssrc/box/memtx_engine.c
- src/box/tuple.c 20 additions, 21 deletionssrc/box/tuple.c
- src/box/tuple.h 5 additions, 3 deletionssrc/box/tuple.h
- src/box/tuple_format.c 19 additions, 10 deletionssrc/box/tuple_format.c
- src/box/tuple_format.h 9 additions, 5 deletionssrc/box/tuple_format.h
- src/box/vy_stmt.c 26 additions, 21 deletionssrc/box/vy_stmt.c
Loading
Please register or sign in to comment