Force database sync on commit
svn: r4575
This commit is contained in:
parent
8e4ecafda0
commit
3cd2b2098a
@ -1,3 +1,6 @@
|
||||
2005-05-12 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsBSDDB.py: force database sync on transaction commit
|
||||
|
||||
2005-05-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/GenericFilter.py (ParamFilter.apply): Set parameter list before
|
||||
prepare (solves crash in full text search)
|
||||
|
@ -382,6 +382,25 @@ class GrampsBSDDB(GrampsDbBase):
|
||||
else:
|
||||
return None
|
||||
|
||||
def transaction_commit(self,transaction,msg):
|
||||
GrampsDbBase.transaction_commit(self,transaction,msg)
|
||||
self.family_map.sync()
|
||||
self.place_map.sync()
|
||||
self.source_map.sync()
|
||||
self.media_map.sync()
|
||||
self.event_map.sync()
|
||||
self.metadata.sync()
|
||||
self.person_map.sync()
|
||||
self.surnames.sync()
|
||||
self.name_group.sync()
|
||||
self.id_trans.sync()
|
||||
self.fid_trans.sync()
|
||||
self.pid_trans.sync()
|
||||
self.sid_trans.sync()
|
||||
self.oid_trans.sync()
|
||||
self.eventnames.sync()
|
||||
self.undodb.sync()
|
||||
|
||||
def upgrade(self):
|
||||
child_rel_notrans = [
|
||||
"None", "Birth", "Adopted", "Stepchild",
|
||||
|
Loading…
Reference in New Issue
Block a user