[pypy-commit] pypy default: (fijal, bdk) make sure we use statement cache when doing fetchall
fijal
noreply at buildbot.pypy.org
Wed Apr 3 22:34:38 CEST 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r62986:8818eacb9e98
Date: 2013-04-03 22:33 +0200
http://bitbucket.org/pypy/pypy/changeset/8818eacb9e98/
Log: (fijal, bdk) make sure we use statement cache when doing fetchall
diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py
--- a/lib_pypy/_sqlite3.py
+++ b/lib_pypy/_sqlite3.py
@@ -1275,6 +1275,8 @@
raise self.__con._get_exception(ret)
elif ret == _lib.SQLITE_ROW:
self._readahead(cursor)
+ else:
+ self._reset()
return item
More information about the pypy-commit
mailing list