summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test/dump.py
Commit message (Collapse)AuthorAgeFilesLines
* #15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression.R David Murray2013-01-111-0/+2
| | | | | | | With '%', non-ascii worked because the '%' automatically got promoted to unicode. With format that doesn't happen, which led to encoding errors. This fix goes back to using %, and adds a test to make sure non-ascii string values work in iterdump.
* #15545: sort iterdump via SQL instead of in python codeR David Murray2013-01-101-0/+21
| | | | | | | | | | | | Although there is not a regression in Python2, we make the same update here to keep the code bases in sync. (The fix for issue 9750 introduced a regression in Python 3 by sorting the row objects returned by fetchall. But if a row_factory such as sqlite3.Row is used, the rows may not be sortable (in Python3), which leads to an exception. The sorting is still a nice idea, so the patch moves the sort into the sql.) Fix and test by Peter Otten.
* Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen2012-02-121-0/+8
| | | | Closes #9750
* These svn adds were forgotten in r62000Gregory P. Smith2008-03-281-0/+52