1
0
mirror of https://github.com/luapower/mysql.git synced 2024-12-29 12:20:32 +01:00

unimportant

This commit is contained in:
Cosmin Apreutesei 2021-11-04 18:08:43 +02:00
parent 744bf8f464
commit 1818e63809

View File

@ -978,7 +978,7 @@ function mysql.connect(opt)
local tcp = opt and opt.tcp or require'sock'.tcp
tcp = check_io(self, tcp())
local self = setmetatable({tcp = tcp, host = host, port = port}, conn_mt)
local self = setmetatable({tcp = tcp, host = host, port = port, tracebacks = opt.tracebacks}, conn_mt)
self.max_packet_size = opt.max_packet_size or 16 * 1024 * 1024 --16 MB
local ok, err