From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 28 Feb 2019 12:45:07 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] Re: [PATCH v1 1/1] box: rework tuple_init_field_map to allocate field_map Message-ID: <20190228094507.ep25k6s5wdxw72ui@esperanza> References: <9583df5a4a7ba21d1d82b99b8e33dcdb460ac732.1550582431.git.kshcherbatov@tarantool.org> <20190227083510.px53hxvgttuljvny@esperanza> <13553dc5-d080-756e-3d63-d83a46bf8670@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13553dc5-d080-756e-3d63-d83a46bf8670@tarantool.org> To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org List-ID: 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