bpo-45138: Expand traced SQL statements in `sqlite3` trace callback by erlend-aasland · Pull Request #28240 · python/cpython · GitHub

github.com

Tin mới

erlend-aasland:sqlite-bound-trace

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

Use expanded SQL when tracing using v2 API

Fall back to unexpanded sql if expanded sql is too long

Remove unneeded indent

Revert spurious print traceback change

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

View reviewed changes

Merge branch 'main' into sqlite-bound-trace

Chain exceptions if multiple exceptions happen

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

We can't rely on sqlite_schema being present

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

Merge branch 'main' into sqlite-bound-trace

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Update Lib/test/test_sqlite3/test_hooks.py

PEP 8 Co-authored-by: Jelle Zijlstra <[email protected]>

Address review: clean up namespace

View reviewed changes

: Expand traced SQL statements in

bpo-45138: Revert GH-28240: Expand traced SQL statements This reverts commit d1777515f9f53b452a4231d68196a7c0e5deb879.

bpo-45138: Revert GH-28240: Expand traced SQL statements (GH-31788) This reverts commit d1777515f9f53b452a4231d68196a7c0e5deb879. Automerge-Triggered-By: GH:JelleZijlstra

sqlite3 regression: bound values are not expanded in traced statements #89301

gh-89301: Fix regression with bound values in traced SQLite statements #92053