Skip to content

Commit

Permalink
fix #1504
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwu committed Nov 17, 2021
1 parent d115e62 commit 350248a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lualib/skynet/db/mysql.lua
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ local function _compose_stmt_execute(self, stmt, cursor_type, args)
local v = args[i]
f = store_types[type(v)]
if not f then
error("invalid parameter type", type(v))
error("invalid parameter type " .. type(v))
end
ts, vs = f(v)
types_buf = types_buf .. ts
Expand Down Expand Up @@ -741,7 +741,7 @@ function _M.connect(opts)
local user = opts.user or ""
local password = opts.password or ""
local charset = CHARSET_MAP[opts.charset or "_default"]
local channel =
local channel =
socketchannel.channel {
host = opts.host,
port = opts.port or 3306,
Expand Down

0 comments on commit 350248a

Please sign in to comment.