From 5a2ab12a7dca1686f92b7625f2ce400b5b178c56 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 May 2016 02:16:11 +0100 Subject: util.sql: Import pcall (fixes #677) --- util/sql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/sql.lua') diff --git a/util/sql.lua b/util/sql.lua index acdf9c63..843e7dda 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -2,7 +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 assert, xpcall, debug_traceback = assert, xpcall, debug.traceback; +local assert, pcall, xpcall, debug_traceback = assert, pcall, xpcall, debug.traceback; local t_concat = table.concat; local s_char = string.char; local log = require "util.logger".init("sql"); -- cgit v1.2.3