Software /
code /
prosody
Diff
util/sql.lua @ 7188:e8f20be3e6f8
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 22 Feb 2016 18:46:59 +0100 |
parent | 7180:0d7f80263813 |
child | 7272:a23ca90d1984 |
line wrap: on
line diff
--- a/util/sql.lua Mon Feb 22 15:24:20 2016 +0100 +++ b/util/sql.lua Mon Feb 22 18:46:59 2016 +0100 @@ -1,6 +1,6 @@ local setmetatable, getmetatable = setmetatable, getmetatable; -local ipairs, unpack, select = ipairs, unpack, select; +local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113 local tonumber, tostring = tonumber, tostring; local assert, xpcall, debug_traceback = assert, xpcall, debug.traceback; local t_concat = table.concat;