From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 1 Mar 2019 19:06:15 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] Re: [PATCH v1 1/1] lib: introduce a new JSON_TOKEN_ANY json token Message-ID: <20190301160615.eg6bjt5q3rubiftx@esperanza> References: <51b08c09ebe40d52bc3b6b6b63755930040500f6.1550571905.git.kshcherbatov@tarantool.org> <20190226165832.jvwc55ctxj5zhpgt@esperanza> <078abd2e-76d9-373e-07db-e70286faef3f@tarantool.org> <20190228171047.hmemgyzmjjmljcos@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org List-ID: On Fri, Mar 01, 2019 at 04:50:02PM +0300, Kirill Shcherbatov wrote: > Introduced a new JSON_TOKEN_ANY json token that makes possible to > perform anonymous lookup in marked tree nodes. This feature is > required to implement multikey indexes. > Since the token entered into the parser becomes available to user, > additional server-side check is introduced so that an error > occurs when trying to create a multikey index. > > Needed for #1257 > --- > src/box/tuple_format.c | 5 +++ > src/lib/json/json.c | 16 ++++++++-- > src/lib/json/json.h | 36 +++++++++++++++++++--- > test/engine/json.result | 13 ++++++++ > test/engine/json.test.lua | 7 +++++ > test/unit/json.c | 65 +++++++++++++++++++++++++++++++++++---- > test/unit/json.result | 16 +++++++--- > 7 files changed, 141 insertions(+), 17 deletions(-) Pushed to 2.1.