bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-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."_
2 files changed