-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
unsupported flag 128 with Connector/Python and prepared statements #36731
Comments
This is coming from this code: Line 154 in e5c900c
|
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_com_stmt_execute.html says this: Note that 0x80 (hex) == 128 (decimal) == 10000000 (binary) so this has the unsigned bit set, but none of the flags. |
/severity moderate |
/type mysql-protocol |
@dveeden: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/component mysql-protocol |
This results in flag value of 0x80: cur.execute('DO ?', (1, )) This results in a flag value of 0x0: cur.execute('DO ?', ("1", )) |
Bug Report
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
With MySQL 8.0.30:
3. What did you see instead (Required)
With TiDB:
And in the logs:
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: