[issue35398] SQLite incorrect row count for UPDATE

2018-12-04 Thread Montana Low
Montana Low added the comment: I took a stab at patch. It fixes the issue for me, as proven via the Test Case. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35398] SQLite incorrect row count for UPDATE

2018-12-03 Thread Montana Low
New submission from Montana Low : SQLite driver returns an incorrect row count (-1) for UPDATE statements that begin with a comment. Downstream Reference: https://github.com/sqlalchemy/sqlalchemy/issues/4396 Test Case: ``` import sqlite3 conn = sqlite3.connect(":memory:"