-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 #20530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b0cd440
to
a7bd24a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
@vstinner Would you mind taking a look at this? |
Nope. I don't know the SQLite module. |
@serhiy-storchaka, would you mind reviewing this? Short description of the PR: Ref. SQLite 3.7.15 changelog: The PR adapts the trace callback test to expect this bug for SQLite versions prior to 3.7.15. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks! |
We can backport to 3.9 and 3.8 -- earlier is not possible due to maintenance status. |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
…nGH-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 f7f0ed5) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
GH-24104 is a backport of this pull request to the 3.9 branch. |
…nGH-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 f7f0ed5) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
GH-24105 is a backport of this pull request to the 3.8 branch. |
) 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 f7f0ed5) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
) 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 f7f0ed5) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
…nGH-20530) Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.html#version_3_7_15): _"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
Ref. SQLite 3.7.15 changelog:
"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."
https://bugs.python.org/issue40810
Automerge-Triggered-By: GH:gvanrossum