Commit 5bd94c77 authored by Jim Fulton's avatar Jim Fulton

Added tpc_vote method.

parent 0b57a7ab
...@@ -159,6 +159,8 @@ class TmpStore: ...@@ -159,6 +159,8 @@ class TmpStore:
del self._tindex[:] # Just to be sure! del self._tindex[:] # Just to be sure!
self._pos=self._tpos self._pos=self._tpos
def tpc_vote(self, transaction): pass
def tpc_finish(self, transaction, f=None): def tpc_finish(self, transaction, f=None):
if transaction is not self._transaction: return if transaction is not self._transaction: return
if f is not None: f() if f is not None: f()
......
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