GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — gh-93421: Fix sqlite3 cursor `.rowcount` for UPDATE ... RETURNING queries by erlend-aasland · Pull Request #93520 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 5819902 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 5165a3a 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 1da6390 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
FYI, the failing buildbot are also failing on |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Haven't checked this method for problems. total_changes doc:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Please do; I appreciate your review.
Yes, I will make sure the 64-bit version is used, when available. Thanks for the heads-up! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
FTR, I will revert the DML check change in this PR; that is cleaner. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Just found If change one row per second, it will overflow after 68 years: >>> (2**31-1)/3600/24/365 68.09625973490614 Not afraid of you laughing, I hope a program can run 1000 years (or forever) without errors, in theory we can achieve this goal. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yes, both of the 64-bit changes APIs were added in 3.37.0.
Absolutely. But I also like to keep in mind that perfect is the enemy of good. IMO, a some of the sqlite3 issues have fallen to this; the proposed solution is not perfect, so we're stuck with API pains and bugs. A pragmatic view may, in some cases, be beneficial. For the record: for now, I think my alternative PR is the better solution for this issue. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favour of gh-93526 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
SQLite rowcount is corrupted when combining UPDATE RETURNING w/ table that is dropped and recreated
There was an error while loading. Please reload this page.