[PATCH v3 3/7] box: move offset_slot init to tuple_format_add_field

Vladimir Davydov vdavydov.dev at gmail.com
Wed Apr 3 15:57:27 MSK 2019


On Tue, Apr 02, 2019 at 06:49:34PM +0300, Kirill Shcherbatov wrote:
> Due to the fact that the allocation of offset_slot in the case of
> multikey indexes will become more complicated and will be
> necessary for intermediate nodes of the tuple_field tree, we must
> move this logic to the tuple_format_add_field that performs
> an intermediate nodes allocation for a JSON path.
> 
> Needed for #1257
> ---
>  src/box/tuple_format.c | 34 ++++++++++++++++++----------------
>  1 file changed, 18 insertions(+), 16 deletions(-)

Trivial. Looks okay to me.



More information about the Tarantool-patches mailing list