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 issue:Add parameter index judgment logic in MySQLComStmtPrepareExecutor #34291

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

strawberry1314
Copy link
Contributor

Fixes #34287.
Add judgment logic,determine whether the number of parameters is greater than the number of inserted fields

Changes proposed in this pull request:


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.
  • I have updated the Release Notes of the current development version. For more details, see Update Release Note

…rameters is greater than the number of inserted fields
Copy link
Member

@terrymanu terrymanu left a comment

Choose a reason for hiding this comment

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

I will double check it

@terrymanu terrymanu self-requested a review January 9, 2025 17:00
@terrymanu terrymanu merged commit 8fc4146 into apache:master Jan 10, 2025
147 checks passed
@terrymanu terrymanu added this to the 5.5.2 milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MySQLComStmtPrepareExecutor throws an IndexOutOfBoundsException when insert
2 participants