Commit fad84bd6 authored by Jim Fulton's avatar Jim Fulton

Be more paranoid about hanling _modified

parent e06b62e8
......@@ -165,10 +165,12 @@ class MVCCAdapterInstance(Base):
return s
def tpc_finish(self, transaction, func = lambda tid: None):
modified = self._modified
self._modified = None
def invalidate_finish(tid):
self._base._invalidate_finish(self._modified, self)
self._base._invalidate_finish(modified, self)
func(tid)
self._modified = None
self._storage.tpc_finish(transaction, invalidate_finish)
......
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