-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
sqlite3 Controlling Transactions documentation not updated #73307
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
Comments
commit 284676cf2ac8 changed the sqlite3 module so it will no longer implicitly commit an open transaction before DDL statements. The docs have been updated but there is still an incorrect paragraph that has not been removed. |
I would just like to note that I think that the correct solution is to do an implicit commit before:
|
After read some issues, there are two major concerns: However they are not contradictory if we print a warning when doing an implicit commit. Some messages like this: Then we can keep backward compatibility, and no longer commit implicitly. |
Thanks for the patch, Aviv! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: