[tarantool-patches] Re: [PATCH v1 1/1] box: rework tuple_init_field_map to allocate field_map

Vladimir Davydov vdavydov.dev at gmail.com
Thu Feb 28 12:45:07 MSK 2019


On Wed, Feb 27, 2019 at 02:45:47PM +0300, Kirill Shcherbatov wrote:
> 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
> 
> https://github.com/tarantool/tarantool/tree/kshch/gh-1257-multikey-index-new-field-map-alloc
> https://github.com/tarantool/tarantool/issues/1257
> ---
>  src/box/memtx_engine.c | 29 +++++++++++++++-----------
>  src/box/tuple.c        | 41 ++++++++++++++++++------------------
>  src/box/tuple.h        |  6 +++---
>  src/box/tuple_format.c | 29 +++++++++++++++++---------
>  src/box/tuple_format.h | 14 ++++++++-----
>  src/box/vy_stmt.c      | 47 +++++++++++++++++++++++-------------------
>  6 files changed, 94 insertions(+), 72 deletions(-)

Pushed to 2.1



More information about the Tarantool-patches mailing list