projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91512af
)
util.sql: Import type too (fix global access)
author
Kim Alvefur
<zash@zash.se>
Sun, 22 May 2016 12:37:52 +0000
(14:37 +0200)
committer
Kim Alvefur
<zash@zash.se>
Sun, 22 May 2016 12:37:52 +0000
(14:37 +0200)
util/sql.lua
patch
|
blob
|
history
diff --git
a/util/sql.lua
b/util/sql.lua
index 843e7ddac74714911e048badf3479e1c7e3f331d..6fed1373ae9f027af12aa6cb92ce901dfcbb674e 100644
(file)
--- a/
util/sql.lua
+++ b/
util/sql.lua
@@
-2,6
+2,7
@@
local setmetatable, getmetatable = setmetatable, getmetatable;
local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113
local tonumber, tostring = tonumber, tostring;
+local type = type;
local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback;
local t_concat = table.concat;
local s_char = string.char;