From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (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 D9EA94696C3 for ; Fri, 24 Apr 2020 02:34:46 +0300 (MSK) Date: Fri, 24 Apr 2020 02:27:38 +0300 From: Igor Munkin Message-ID: <20200423232738.GE11314@tarantool.org> References: <20200421195231.GE8314@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200421195231.GE8314@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v4 8/10] schema: fix internal symbols dangling in _G List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: o.piskunov@tarantool.org, tarantool-patches@dev.tarantool.org I don't know whether this patch needs a ChangeLog entry, but it's missing here. On 21.04.20, Igor Munkin wrote: > Vlad, > > Thanks for the patch! LGTM (feel free to push out of order as obvious). > > Side note: I don't know whether we need a test for it (a simple lookup > for and in _G) but > on the second thought it looks excess and out of the common practice. > > On 21.04.20, sergeyb@tarantool.org wrote: > > From: Vladislav Shpilevoy > > > > A couple of functions were mistakenly declared as 'function' > > instead of 'local function' in schema.lua. That led to their > > presence in the global namespace. > > --- > > src/box/lua/schema.lua | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > > -- > > 2.23.0 > > > > -- > Best regards, > IM -- Best regards, IM