Diff

util/sql.lua @ 7431:0d991d5659f0

util.sql: Import type too (fix global access)
author Kim Alvefur <zash@zash.se>
date Sun, 22 May 2016 14:37:52 +0200
parent 7428:f791651ee334
child 7513:8a6c7c4b15fb
line wrap: on
line diff
--- a/util/sql.lua	Sun May 22 02:16:11 2016 +0100
+++ b/util/sql.lua	Sun May 22 14:37:52 2016 +0200
@@ -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;