mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
mod_storage_sql: Handle Lua 5.3 move of unpack function
This commit is contained in:
parent
687384a94a
commit
c5d487e42d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ local is_stanza = require"util.stanza".is_stanza;
|
||||||
local t_concat = table.concat;
|
local t_concat = table.concat;
|
||||||
|
|
||||||
local noop = function() end
|
local noop = function() end
|
||||||
local unpack = unpack
|
local unpack = table.unpack or unpack;
|
||||||
local function iterator(result)
|
local function iterator(result)
|
||||||
return function(result_)
|
return function(result_)
|
||||||
local row = result_();
|
local row = result_();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue