gh-93421: Fix sqlite3 cursor `.rowcount` for UPDATE ... RETURNING queries by erlend-aasland · Pull Request #93520 · python/cpython · GitHub

github.com

Tin mới

erlend-aasland:sqlite-changes

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Try lazy rowcount approach

Calculate rowcount using sqlite3_total_changes() diff

awaiting core review

awaiting core review

SQLite rowcount is corrupted when combining UPDATE RETURNING w/ table that is dropped and recreated #93421

🔨 test-with-buildbots

🔨 test-with-buildbots

needs backport to 3.10

needs backport to 3.10

needs backport to 3.11

needs backport to 3.11

Remove spurious change

gh-93421: Update sqlite3 cursor.rowcount after SQLITE_DONE #93526

gh-79579: Update sqlite3.Cursor.rowcount for all data-modifying queries #93532

Merge branch 'main' into sqlite-changes

Revert sqlite3_stmt_readonly change

Use sqlite3_total_changes64 if available

⌂git
1/1