[Zodb-checkins] CVS: Packages/bsddb3Storage - Full.py:1.6

Jim Fulton jim@digicool.com
Tue, 3 Apr 2001 18:26:21 -0400 (EDT)


Update of /cvs-repository/Packages/bsddb3Storage
In directory korak:/tmp/cvs-serv15344

Modified Files:
	Full.py 
Log Message:
Added transactionalUndo.



--- Updated File Full.py in package Packages/bsddb3Storage --
--- Full.py	2001/03/30 19:55:53	1.5
+++ Full.py	2001/04/03 22:26:20	1.6
@@ -619,6 +619,18 @@
             # Now recurse...
             self._decref(roid, lrevid, txn)
 
+    def transactionalUndo(self, tid, transaction):
+        if transaction is not self._transaction:
+            raise POSException.StorageTransactionError(self, transaction)
+
+        oids=[]
+        self._lock_acquire()
+        try:
+            return oids
+        finally:
+            self._lock_release()
+
+
     def undo(self, tid):
         # Attempt to undo transaction.  NOTE: the current storage interface
         # documentation says that this method takes a third argument, which is