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: add check to prevent updateCounts being set to an invalid number #451

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

crystall-bitquill
Copy link
Collaborator

Summary

fix: add check to prevent updateCounts being set to an invalid number

Description

When an error occurs on executing a batch statement while allowMultiQueries is set to true, the updateCounts is incorrectly set to -1 when it should be left as -3 (Statement.EXECUTE_FAILED). This PR adds a check to ensure this does not happen.

Addresses #450.

Additional Reviewers

@karenc-bq karenc-bq merged commit 317b53d into awslabs:main Sep 7, 2023
1 check passed
@karenc-bq karenc-bq deleted the issue-450 branch September 7, 2023 19:13
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.

None yet

3 participants