]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 4 Jan 2021 23:36:37 +0000 (15:36 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Jan 2021 23:36:37 +0000 (15:36 -0800)
commit0ccac5ff587d7637854e5d3e75f0f9a8f5528e59
tree7aeaabe4378103a1baa0b0aada4c67efb8ef7b66
parenta87bf5fd361b61b45bdfe52731c41fa6681a0f7b
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)

Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
(cherry picked from commit f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Lib/sqlite3/test/hooks.py
Misc/NEWS.d/next/Tests/2020-05-30-10-56-38.bpo-40810.LPqDLQ.rst [new file with mode: 0644]