Software /
code /
prosody
Comparison
util/sql.lua @ 7429:713d6f8e84d0
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 May 2016 02:16:57 +0100 |
parent | 7428:f791651ee334 |
child | 7431:0d991d5659f0 |
comparison
equal
deleted
inserted
replaced
7427:bf43a08e5a74 | 7429:713d6f8e84d0 |
---|---|
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 assert, xpcall, debug_traceback = assert, xpcall, debug.traceback; | 5 local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback; |
6 local t_concat = table.concat; | 6 local t_concat = table.concat; |
7 local s_char = string.char; | 7 local s_char = string.char; |
8 local log = require "util.logger".init("sql"); | 8 local log = require "util.logger".init("sql"); |
9 | 9 |
10 local DBI = require "DBI"; | 10 local DBI = require "DBI"; |