unimportant

This commit is contained in:
Cosmin Apreutesei 2021-11-04 18:08:43 +02:00
parent 744bf8f464
commit 1818e63809
1 changed files with 1 additions and 1 deletions

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