History log of /external/python/cpython2/Lib/sqlite3/test/dump.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
32851d61f2779b4fcefb92fa0a74f814a87211cb 11-Jan-2013 R David Murray <rdmurray@bitdance.com> #15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression.

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.
/external/python/cpython2/Lib/sqlite3/test/dump.py
d618684d654bb5fc962624707721fc4793ed3801 10-Jan-2013 R David Murray <rdmurray@bitdance.com> #15545: sort iterdump via SQL instead of in python code

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.
/external/python/cpython2/Lib/sqlite3/test/dump.py
587209f08995e122de76b61154a8c70067778412 12-Feb-2012 Petri Lehtinen <petri@digip.org> Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes

Closes #9750
/external/python/cpython2/Lib/sqlite3/test/dump.py
a98be45f18156e33a1a6bad0480a8d2dbb857798 28-Mar-2008 Gregory P. Smith <greg@mad-scientist.com> These svn adds were forgotten in r62000
/external/python/cpython2/Lib/sqlite3/test/dump.py