Changeset

9537:5fe1b08e6353

mod_storage_sql: Handle Lua 5.3 move of unpack function
author Kim Alvefur <zash@zash.se>
date Sun, 21 Oct 2018 21:12:38 +0200
parents 9536:4803ab9a5983
children 9538:07665733b332
files plugins/mod_storage_sql.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_();