[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py
this spelling lets non-savepoint aware TM's (like DA's) stand
a chance
Chris Withers
chris at simplistix.co.uk
Tue Nov 8 10:17:46 EST 2005
Log message for revision 39976:
this spelling lets non-savepoint aware TM's (like DA's) stand a chance
Changed:
U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py
-=-
Modified: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py 2005-11-08 15:04:36 UTC (rev 39975)
+++ Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py 2005-11-08 15:17:46 UTC (rev 39976)
@@ -587,7 +587,7 @@
# we should commit a subtransaction if our threshhold is
# exceeded within the boundaries of the current transaction.
if self._v_total > self.threshold:
- transaction.commit(1)
+ transaction.savepoint(optimistic=True)
self._p_jar.cacheGC()
self._v_total = 0
if pghandler:
More information about the Zope-Checkins
mailing list