# HG changeset patch # User Kim Alvefur # Date 1540149158 -7200 # Node ID 5fe1b08e6353706c052f9f0192f33221c861c2d6 # Parent 4803ab9a5983c8714880fd7e43f66393fa535fa4 mod_storage_sql: Handle Lua 5.3 move of unpack function diff -r 4803ab9a5983 -r 5fe1b08e6353 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sun Oct 21 21:03:54 2018 +0200 +++ b/plugins/mod_storage_sql.lua Sun Oct 21 21:12:38 2018 +0200 @@ -11,7 +11,7 @@ local t_concat = table.concat; local noop = function() end -local unpack = unpack +local unpack = table.unpack or unpack; local function iterator(result) return function(result_) local row = result_();