* src/gen/db/dbdir.py: always use db.DB_RECOVER
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org> svn: r9475
This commit is contained in:
parent
77a9eb54cf
commit
30e224ff35
@ -1,3 +1,6 @@
|
||||
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/gen/db/dbdir.py: always use db.DB_RECOVER
|
||||
|
||||
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/plugins/NarrativeWeb.py: Use Narrated word
|
||||
|
||||
|
@ -497,8 +497,8 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
|
||||
db.DB_INIT_MPOOL | db.DB_INIT_LOCK |\
|
||||
db.DB_INIT_LOG | db.DB_INIT_TXN | db.DB_THREAD
|
||||
|
||||
# Only do recovery for existing databases
|
||||
if os.path.isfile(self.full_name):
|
||||
# As opposed to before, we always try recovery on databases
|
||||
# in _GrampsBSDDB.py we only do that on existing filenames
|
||||
env_flags = env_flags | db.DB_RECOVER
|
||||
|
||||
# Environment name is now based on the filename
|
||||
|
Loading…
Reference in New Issue
Block a user