mirror of
https://github.com/python/cpython.git
synced 2024-11-24 17:47:13 +01:00
e38b43c213
sqlite3.iterdump() depends on the row factory returning resulting rows as tuples; it will fail with custom row factories like for example a dict factory. With this commit, we explicitly reset the row factory of the cursor used by iterdump(), so we always get predictable results. This does not affect the row factory of the parent connection. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
dbapi2.py | ||
dump.py |