[Tarantool-patches] [PATCH 1/2] src: return back import of table.clear() method

sergeyb at tarantool.org sergeyb at tarantool.org
Tue Jul 28 16:52:22 MSK 2020


From: Sergey Bronnikov <sergeyb at tarantool.org>

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



More information about the Tarantool-patches mailing list