[Zodb-checkins] CVS: Zope2/lib/python/ZODB - FileStorage.py:1.49.8.3
jeremy@digicool.com
jeremy@digicool.com
Wed, 9 May 2001 17:33:06 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak:/tmp/cvs-serv3427
Modified Files:
Tag: zope-2_3-branch
FileStorage.py
Log Message:
Fix buf in synchronization of tpc_vote() -- from trunk.
--- Updated File FileStorage.py in package Zope2/lib/python/ZODB --
--- FileStorage.py 2001/03/15 13:10:36 1.49.8.2
+++ FileStorage.py 2001/05/09 21:33:05 1.49.8.3
@@ -721,11 +721,9 @@
self._nextpos=0
def tpc_vote(self, transaction):
- if transaction is not self._transaction:
- raise POSException.StorageTransactionError(self, transaction)
-
self._lock_acquire()
try:
+ if transaction is not self._transaction: return
tfile=self._tfile
dlen=tfile.tell()
if not dlen: return # No data in this trans