# HG changeset patch # User Kim Alvefur # Date 1463920672 -7200 # Node ID 0d991d5659f08ed728fe8a0617171a76376bf6ac # Parent f791651ee334a3f9a4ed6ad792095267d7ef82bc util.sql: Import type too (fix global access) diff -r f791651ee334 -r 0d991d5659f0 util/sql.lua --- 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;