svn: r6538
This commit is contained in:
parent
715e7b2b86
commit
e90f4b3705
@ -1066,6 +1066,8 @@ class GrampsBSDDB(GrampsDbBase):
|
||||
# A batch transaction does not store the commits
|
||||
# Aborting the session completely will become impossible.
|
||||
self.abort_possible = False
|
||||
# Undo is also impossible after batch transaction
|
||||
self.undoindex = -1
|
||||
transaction = BdbTransaction(msg,self.undodb,batch,no_magic)
|
||||
if transaction.batch:
|
||||
if self.UseTXN:
|
||||
|
@ -1208,6 +1208,8 @@ class GrampsDbBase(GrampsDBCallback):
|
||||
# A batch transaction does not store the commits
|
||||
# Aborting the session completely will become impossible.
|
||||
self.abort_possible = False
|
||||
# Undo is also impossible after batch transaction
|
||||
self.undoindex = -1
|
||||
return Transaction(msg, self.undodb, batch)
|
||||
|
||||
def transaction_commit(self, transaction, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user