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 savepoint bugs, preview8 (#21698) #21785

Merged
merged 1 commit into from
Jul 25, 2020

Conversation

roji
Copy link
Member

@roji roji commented Jul 25, 2020

  • Check that DbConnection is Open before attempting to rollback and/or release a savepoint, and swallow (log) any exceptions that bubble up from those operations.
  • Call close on IRelationalConnection after releasing savepoint to make sure open/close are balanced.

Closes #21340

(cherry picked from commit 385291f)

* Check that DbConnection is Open before attempting to rollback and/or
  release a savepoint, and swallow (log) any exceptions that bubble up
  from those operations.
* Call close on IRelationalConnection after releasing savepoint to make
  sure open/close are balanced.

Closes #21340

(cherry picked from commit 385291f)
@roji roji requested a review from a team July 25, 2020 16:53
@roji roji merged commit 75e82ef into release/5.0-preview8 Jul 25, 2020
@roji roji deleted the SavepointFixedPreview8 branch July 25, 2020 18:08
@roji roji mentioned this pull request Jul 25, 2020
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.

2 participants