[tarantool-patches] Re: [PATCH v1 1/1] lib: introduce a new JSON_TOKEN_ANY json token
Vladimir Davydov
vdavydov.dev at gmail.com
Fri Mar 1 19:06:15 MSK 2019
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.
More information about the Tarantool-patches
mailing list