-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql传limit句柄错误 #134
Comments
|
where := map[string]interface{}{ |
mysql版本 |
辛苦有空帮忙看下 |
还请有空看下我最新的回答,谢谢~
| |
***@***.***
|
|
***@***.***
|
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2022年11月25日 00:55 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [didi/gendry] mysql传limit句柄错误 (Issue #134) |
Show me your code
your mysql version
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
这样直接看不出问题,你可以开启mysql driver的interpolateParams试试看,打印下最后的结果 |
还得辛苦帮忙看下 sql中unhex该怎么传 |
SELECT * FROM file_meta WHERE (isdelete=? AND server_filename=? AND user_id=?)] sql_args[[0,"unhex(e69da5e887aaefbc9a7669766f2058706c617936)",3941040758 这样报错 |
现在这个也已经支持,可以使用 builder.Raw("unhex(e69da5e887aaefbc9a7669766f2058706c617936)") |
errmsg[Error 5007: prepare handle error] dnslookup[0] reuse[0] sql[/* {"log_id":"3230830605","xdb_comment":"1"} */ SELECT * FROM file_meta WHERE (isdelete=? AND server_filename=? AND user_id=?) LIMIT ?,?] sql_args[[0,"relay_expect",122050,0,100]]
The text was updated successfully, but these errors were encountered: