Skip to content

Commit

Permalink
this spelling lets non-savepoint aware TM's (like DA's) stand a chance
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Nov 8, 2005
1 parent fa57d8b commit 7e0eb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZCatalog.py
Expand Up @@ -587,7 +587,7 @@ def catalog_object(self, obj, uid=None, idxs=None, update_metadata=1, pghandler=
# 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:
Expand Down

0 comments on commit 7e0eb6d

Please sign in to comment.