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

Prevent transaction from committing on panic. #76

Closed
umran opened this issue Jun 15, 2020 · 0 comments · Fixed by #119
Closed

Prevent transaction from committing on panic. #76

umran opened this issue Jun 15, 2020 · 0 comments · Fixed by #119

Comments

@umran
Copy link

umran commented Jun 15, 2020

Currently there is no check for panics within the ExecTx closure. I think it could be useful to have a deferred function rollback the transaction if there is a panic.

@rafiss rafiss added this to To triage in SQL Sessions - Deprecated via automation Sep 10, 2020
@rafiss rafiss moved this from Triage to Longer term backlog in SQL Sessions - Deprecated Nov 24, 2020
SQL Sessions - Deprecated automation moved this from Longer term backlog to Done Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants