[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

Erlend E. Aasland report at bugs.python.org
Mon Jan 3 15:03:08 EST 2022


Erlend E. Aasland <erlend.aasland at innova.no> added the comment:

GH-26026 / bpo-44092 has removed the old workaround where pending statements were reset before a rollback. Since version 3.7.11, SQLite no longer has any issues with pending statements and rollbacks, so we remove the workaround, since we require SQLite 3.7.15 or newer in CPython.

As a side effect, pysqlite_do_all_statements() has now been removed, as it is unused code.

Following GH-26026, this issue is no longer an issue; I close it as fixed.


Ma Lin: if you have problems with the LRU cache, please open a new issue.

----------
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33376>
_______________________________________


More information about the Python-bugs-list mailing list