From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0DC9B430408 for ; Tue, 11 Aug 2020 21:50:36 +0300 (MSK) References: <21871bd97383aa16c15d8bdad20775f2a85548ae.1596584571.git.v.shpilevoy@tarantool.org> From: Aleksandr Lyapunov Message-ID: Date: Tue, 11 Aug 2020 21:50:35 +0300 MIME-Version: 1.0 In-Reply-To: <21871bd97383aa16c15d8bdad20775f2a85548ae.1596584571.git.v.shpilevoy@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Tarantool-patches] [PATCH 2/2] tuple: fix access by JSON path starting from '[*]' List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy , tarantool-patches@dev.tarantool.org, korablev@tarantool.org LGTM On 8/5/20 2:45 AM, Vladislav Shpilevoy wrote: > Tuple JSON field access crashed when '[*]' was used as a first > part of the JSON path. The patch makes it treated like 'field not > found'. > > Follow-up #5224 > --- > src/box/tuple.c | 3 ++- > test/box/gh-5224-multikey-field-access.result | 9 +++++++++ > test/box/gh-5224-multikey-field-access.test.lua | 6 ++++++ > 3 files changed, 17 insertions(+), 1 deletion(-)