We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like the following does the job:
diff --git a/src/connection.c b/src/connection.c index 9ca3afa..e61da6f 100644 --- a/src/connection.c +++ b/src/connection.c @@ -1578,6 +1578,10 @@ pysqlite_connection_exit(pysqlite_Connection* self, PyObject* args) result = PyObject_CallMethod((PyObject*)self, method_name, ""); if (!result) { + result = PyObject_CallMethod((PyObject*)self, "rollback", ""); + if (result) { + Py_DECREF(result); + } return NULL; } Py_DECREF(result);
Originally posted by @lciti in #103 (comment)
The text was updated successfully, but these errors were encountered:
Do you still know which problem this solved?
Sorry, something went wrong.
It looks like a simplified variant of python/cpython#26202
No branches or pull requests
It looks like the following does the job:
Originally posted by @lciti in #103 (comment)
The text was updated successfully, but these errors were encountered: