[Zope-Checkins]
SVN: Zope/branches/Zope-2_8-branch/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:19:40 EST 2005
Log message for revision 39977:
this spelling lets non-savepoint aware TM's (like DA's) stand a chance
Changed:
U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py
-=-
Modified: Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py 2005-11-08 15:17:46 UTC (rev 39976)
+++ Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py 2005-11-08 15:19:40 UTC (rev 39977)
@@ -588,7 +588,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.savepoint()
+ transaction.savepoint(optimistic=True)
self._p_jar.cacheGC()
self._v_total = 0
if pghandler:
More information about the Zope-Checkins
mailing list