Skip to content
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

fix: 9132, MySQL now respect param bind limit #2293

Merged
merged 3 commits into from Oct 26, 2021
Merged

fix: 9132, MySQL now respect param bind limit #2293

merged 3 commits into from Oct 26, 2021

Conversation

cprieto
Copy link
Contributor

@cprieto cprieto commented Oct 6, 2021

@cprieto cprieto requested a review from Weakky October 6, 2021 08:32
Copy link
Member

@Weakky Weakky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. A regression test would've been great!

@cprieto
Copy link
Contributor Author

cprieto commented Oct 6, 2021

@Weakky That will involve regressions for other engines as well (they have limits too), do you think that would be ok?

 - Originally MySQL didn't have a limit for the number of parameters to
   bind to
 - Now it will respect the limit in MySQL source code (`UINT_MAX16`)
 - Different databases has different limits
 - This tests already set limits
 - Remove useless limit test as suggested in PR
 - Update readme file with correct Rust compiler version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepared statement contains too many placeholders
3 participants