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 statement close on error #32

Merged
merged 2 commits into from
Jun 19, 2020
Merged

Conversation

tanner0101
Copy link
Member

@tanner0101 tanner0101 commented Jun 19, 2020

Fixes a bug causing query statements to not be cleaned up (closed) if an error was thrown in the onRow callback (#32, fixes #30).

@tanner0101 tanner0101 added bug Something isn't working semver-patch Internal changes only labels Jun 19, 2020
@tanner0101
Copy link
Member Author

I was able to successfully recreate the error in the new test case.

@tanner0101 tanner0101 merged commit 9fafa5e into master Jun 19, 2020
@tanner0101 tanner0101 deleted the tn-mysql-stmt-close-error branch June 19, 2020 20:47
@tanner0101
Copy link
Member Author

These changes are now available in 1.0.0-rc.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working semver-patch Internal changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prepared statements might not be properly closed
1 participant