This commit is contained in:
Cloud Wu
2021-11-17 13:11:10 +08:00
parent d115e626e6
commit 350248a7cc

View File

@@ -599,7 +599,7 @@ local function _compose_stmt_execute(self, stmt, cursor_type, args)
local v = args[i] local v = args[i]
f = store_types[type(v)] f = store_types[type(v)]
if not f then if not f then
error("invalid parameter type", type(v)) error("invalid parameter type " .. type(v))
end end
ts, vs = f(v) ts, vs = f(v)
types_buf = types_buf .. ts types_buf = types_buf .. ts