Commit 069da393 authored by Jim Fulton's avatar Jim Fulton

Added stub for new vote protocol.

parent 0e778c07
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""Handy standard storage machinery """Handy standard storage machinery
""" """
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
import time, bpthread, UndoLogCompatible import time, bpthread, UndoLogCompatible
from POSException import UndoError from POSException import UndoError
...@@ -187,6 +187,8 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible): ...@@ -187,6 +187,8 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
def _begin(self, tid, u, d, e): def _begin(self, tid, u, d, e):
pass pass
def tpc_vote(self, transaction): pass
def tpc_finish(self, transaction, f=None): def tpc_finish(self, transaction, f=None):
self._lock_acquire() self._lock_acquire()
try: try:
......
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