GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources
Tin mới
erlend-aasland:sqlite-optimise-resets
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
bpo-44958: Only reset sqlite3 statements when needed
gh-88239: Use sqlite3_stmt_busy() to determine if statements are in use #25984
bpo-43350: Don't reset active statements twice in _pysqlite_query_execute() #24681
We don't use the return value of pysqlite_statement_reset
If possible, avoid resetting unused statements
SQLITE_STMTSTATUS_RUN is available from 3.20.0 and onwards
Use sqlite3_stmt pointer iso. deref'ing self when calling sqlite3_reset
Merge branch 'main' into sqlite-optimise-resets
pysqlite_statement_reset result() is never used => return void
Merge branch 'main' into sqlite-optimise-resets
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/python/cpython/pull/27844/files#r711816559
Check https://github.com/python/cpython/pull/27844/files#r711816559
Merge branch 'main' into sqlite-optimise-resets
Test that datamodifying select queries are marked readonly
bpo-44958: Fix ref. leak in test_table_lock_cursor_non_readonly_select()
bpo-44958: Fix ref. leak introduced in GH-27844 #28490
[sqlite3] only reset statements when needed #89121