[Zodb-checkins] CVS: ZODB4/ZODB - DB.py:1.58
Jeremy Hylton
jeremy@zope.com
Fri, 6 Dec 2002 11:52:00 -0500
Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv19910
Modified Files:
DB.py
Log Message:
Reset the connection before adding it to the allocated list.
=== ZODB4/ZODB/DB.py 1.57 => 1.58 ===
--- ZODB4/ZODB/DB.py:1.57 Wed Dec 4 16:50:09 2002
+++ ZODB4/ZODB/DB.py Fri Dec 6 11:51:59 2002
@@ -276,8 +276,8 @@
# XXX Could look for a connection with the right version
c = self._pool.pop()
- self._allocated.append(c)
c.reset(version)
+ self._allocated.append(c)
for other_conn in self._pool:
other_conn.cacheGC()