From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 1A1544696C3 for ; Fri, 24 Apr 2020 02:31:56 +0300 (MSK) Date: Fri, 24 Apr 2020 02:24:46 +0300 From: Igor Munkin Message-ID: <20200423232446.GD11314@tarantool.org> References: <0b86996f4cac3e620137abf271a43bde499e5334.1587476678.git.sergeyb@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0b86996f4cac3e620137abf271a43bde499e5334.1587476678.git.sergeyb@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v4 7/10] schema: fix index promotion to functional index List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: sergeyb@tarantool.org Cc: o.piskunov@tarantool.org, tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org Vlad, Thanks for the patch! I'm glad we found and fixedseveral bugs as a result of luacheck activity. LGTM (I guess this patch can be also pushed out of order along with the following one). On 21.04.20, sergeyb@tarantool.org wrote: > From: Vladislav Shpilevoy > > When index:alter() was called on a non-functional index with > specified 'func', it led to accessing a not declared variable in > schema.lua. > --- > src/box/lua/schema.lua | 2 +- > test/engine/func_index.result | 36 +++++++++++++++++++++++++++++++++ > test/engine/func_index.test.lua | 14 +++++++++++++ > 3 files changed, 51 insertions(+), 1 deletion(-) > > -- > 2.23.0 > -- Best regards, IM