Update
svn: r5685
This commit is contained in:
parent
7961686397
commit
d542775503
@ -856,13 +856,12 @@ class GrampsBSDDB(GrampsDbBase):
|
|||||||
transaction has no effect until it is committed using the
|
transaction has no effect until it is committed using the
|
||||||
transaction_commit function of the this database object.
|
transaction_commit function of the this database object.
|
||||||
"""
|
"""
|
||||||
if self.__LOG_ALL:
|
|
||||||
log.debug("%s: Transaction begin '%s'\n"
|
|
||||||
% (self.__class__.__name__, str(msg)))
|
|
||||||
# Start BSD DB transaction -- DBTxn
|
# Start BSD DB transaction -- DBTxn
|
||||||
self.txn = self.env.txn_begin()
|
self.txn = self.env.txn_begin()
|
||||||
|
|
||||||
return Transaction(msg,self.undodb)
|
trans = GrampsDbBase.transaction_begin(sef,msg)
|
||||||
|
return trans
|
||||||
|
|
||||||
def transaction_commit(self,transaction,msg):
|
def transaction_commit(self,transaction,msg):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user