* 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>
|
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/plugins/NarrativeWeb.py: Use Narrated word
|
* 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_MPOOL | db.DB_INIT_LOCK |\
|
||||||
db.DB_INIT_LOG | db.DB_INIT_TXN | db.DB_THREAD
|
db.DB_INIT_LOG | db.DB_INIT_TXN | db.DB_THREAD
|
||||||
|
|
||||||
# Only do recovery for existing databases
|
# As opposed to before, we always try recovery on databases
|
||||||
if os.path.isfile(self.full_name):
|
# in _GrampsBSDDB.py we only do that on existing filenames
|
||||||
env_flags = env_flags | db.DB_RECOVER
|
env_flags = env_flags | db.DB_RECOVER
|
||||||
|
|
||||||
# Environment name is now based on the filename
|
# Environment name is now based on the filename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user