From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (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 336FA445321 for ; Tue, 28 Jul 2020 16:52:42 +0300 (MSK) From: sergeyb@tarantool.org Date: Tue, 28 Jul 2020 16:52:22 +0300 Message-Id: <1f495519687c8e037c638ccabab28e23882a41df.1595943364.git.sergeyb@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/2] src: return back import of table.clear() method List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org, alexander.turenko@tarantool.org From: Sergey Bronnikov Import of 'table.clear' module has been removed to fix luacheck warning about unused variable in commit 3af79e70b5e1e9b1d69b97f3031a299132a02d2f and method table.clear() became unavailable in Tarantool. Part of #5210 --- src/lua/trigger.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lua/trigger.lua b/src/lua/trigger.lua index 1330ecdd4..066329ea6 100644 --- a/src/lua/trigger.lua +++ b/src/lua/trigger.lua @@ -1,4 +1,5 @@ local fun = require('fun') +local _ = require('table.clear') -- -- Checks that argument is a callable, i.e. a function or a table -- 2.26.2