[issue40810] sqlite3 test CheckTraceCallbackContent fails for sqlite v3.7.3 through 3.7.14.1
Erlend Egeberg Aasland
report at bugs.python.org
Fri May 29 08:26:54 EDT 2020
Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:
FYI, the #if in line 1563 in `Modules/_sqlite/connection.c` is wrong, but the comment five lines below is correct:
https://github.com/python/cpython/blob/e56ce3ce865cb5539cdedbeae54eaa11ec563922/Modules/_sqlite/connection.c#L1563-L1589
`sqlite3_errstr()` was introduced in 3.7.15, so the #if comparison operator should have been '>=', not '>'.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40810>
_______________________________________
More information about the Python-bugs-list
mailing list