Comparison

util/sql.lua @ 8389:5d866eb8f18f

util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 10 Nov 2017 17:47:11 +0100
parent 8382:e5d00bf4a4d5
child 8555:4f0f5b49bb03
comparison
equal deleted inserted replaced
8387:7d61431e1aa6 8389:5d866eb8f18f
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 143
4 local tostring = tostring; 4 local tostring = tostring;
5 local type = type; 5 local type = type;
6 local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback; 6 local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback;
7 local t_concat = table.concat; 7 local t_concat = table.concat;
8 local log = require "util.logger".init("sql"); 8 local log = require "util.logger".init("sql");