[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - DA.py:1.110
Christian Zagrodnick
cz@gocept.com
Thu, 27 Feb 2003 03:45:45 -0500
Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv9382
Modified Files:
DA.py
Log Message:
- fixed result caching
=== Zope/lib/python/Shared/DC/ZRDB/DA.py 1.109 => 1.110 ===
--- Zope/lib/python/Shared/DC/ZRDB/DA.py:1.109 Wed Feb 26 12:59:03 2003
+++ Zope/lib/python/Shared/DC/ZRDB/DA.py Thu Feb 27 03:45:44 2003
@@ -347,7 +347,7 @@
pure_query = query
# we need to munge the incoming query key in the cache
# so that the same request to a different db is returned
- query += '\nDBConnId: %s' % self.connection_hook
+ query = query + ('\nDBConnId: %s' % self.connection_hook, )
# Try to fetch from cache
if hasattr(self,'_v_cache'): cache=self._v_cache