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 60CA14696C3 for ; Tue, 21 Apr 2020 22:59:39 +0300 (MSK) Date: Tue, 21 Apr 2020 22:52:31 +0300 From: Igor Munkin Message-ID: <20200421195231.GE8314@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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: sergeyb@tarantool.org Cc: o.piskunov@tarantool.org, tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org 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