Comparison

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
comparison
equal deleted inserted replaced
7428:f791651ee334 7431:0d991d5659f0
1 1
2 local setmetatable, getmetatable = setmetatable, getmetatable; 2 local setmetatable, getmetatable = setmetatable, getmetatable;
3 local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113 3 local ipairs, unpack, select = ipairs, table.unpack or unpack, select; --luacheck: ignore 113
4 local tonumber, tostring = tonumber, tostring; 4 local tonumber, tostring = tonumber, tostring;
5 local type = type;
5 local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback; 6 local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback;
6 local t_concat = table.concat; 7 local t_concat = table.concat;
7 local s_char = string.char; 8 local s_char = string.char;
8 local log = require "util.logger".init("sql"); 9 local log = require "util.logger".init("sql");
9 10