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:

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to