diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 3c64b1138..01fad742e 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-12 Don Allingham + * src/GrampsBSDDB.py: force database sync on transaction commit + 2005-05-12 Martin Hawlisch * src/GenericFilter.py (ParamFilter.apply): Set parameter list before prepare (solves crash in full text search) diff --git a/gramps2/src/GrampsBSDDB.py b/gramps2/src/GrampsBSDDB.py index 0b7add648..77773810a 100644 --- a/gramps2/src/GrampsBSDDB.py +++ b/gramps2/src/GrampsBSDDB.py @@ -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",