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: _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins