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

Errors within a transaction are lost #30

Open
pjlegato opened this issue Jun 20, 2017 · 1 comment
Open

Errors within a transaction are lost #30

pjlegato opened this issue Jun 20, 2017 · 1 comment

Comments

@pjlegato
Copy link

If a statement within a multi-statement transaction causes an error, such as an INSERT that does not provide a value for a NOT NULL column, this error is currently lost. It should probably throw an exception back to the caller.

@pjlegato
Copy link
Author

The simple test case I wrote does indeed throw an error as expected, so it is not quite what I described above; it's something more complex. I'm working on a self-contained test case that reproduces the issue where a transaction fails silently.

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

No branches or pull requests

1 participant