Commit 5cff5316 authored by Chris Withers's avatar Chris Withers

this spelling lets non-savepoint aware TM's (like DA's) stand a chance

parent cf1b13a8
......@@ -587,7 +587,7 @@ class ZCatalog(Folder, Persistent, Implicit):
# 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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment