Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
bpo-44092: Don't reset statements/cursors before rollback#26026
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
In SQLite versions pre 3.7.11, pending statements would block arollback. This is no longer the case, so remove the workaround.
erlend-aasland commentedMay 10, 2021
Tests taken from issue 33376 |
erlend-aasland commentedMay 11, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@corona10 This change means that UPDATE: seemsg393944 |
bedevere-bot commentedSep 8, 2021
🤖 New build scheduled with the buildbot fleet by@erlend-aasland for commitf7065b1 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
erlend-aasland commentedNov 10, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@serhiy-storchaka, I'm not sure how to proceed in order to land this. I'm pretty sure this is correct; it works across all supported SQLite versions. I've tried to ping Berker about this, but I haven't gotten any response. Proposal: We merge this to See the bpo issue for my notes about this fix. |
erlend-aasland commentedNov 17, 2021
@animalize: would you mind reviewing this? |
ghost commentedNov 17, 2021
I will try, I'm not a deep user of SQL, but if you can't find a reviewer I'm glad to try, hope I can review this in 2~4 weeks. |
erlend-aasland commentedNov 17, 2021
Great, thanks. You'll find my reasoning in the bpo. |
erlend-aasland commentedNov 21, 2021
@ghaering: Would you mind reviewing this? (A 👎🏻 or 👍🏻 reaction would be 👌🏻). Totally understand if you won't. |
ghost commentedNov 26, 2021
It seems |
erlend-aasland commentedNov 26, 2021
Thanks for helping out,@animalize! |
erlend-aasland commentedJan 2, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@pablogsal, it would have been nice to get this into the upcoming alpha :) |
ghost commentedJan 2, 2022
It seems this PR can be committed. Then to do subsequent improvement. |
erlend-aasland commentedJan 3, 2022
Thank you, Pablo! 🙏🏻 |
Uh oh!
There was an error while loading.Please reload this page.
In SQLite versions pre 3.7.11, pending statements would block a
rollback. We now require SQLite 3.7.15, so this workaround can go.
https://bugs.python.org/issue44092