2006-10-06 Alex Roitman <shura@gramps-project.org>

* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Do not create
	logs when TXN is disabled.



svn: r7358
This commit is contained in:
Alex Roitman 2006-10-06 18:43:29 +00:00
parent d2403dcc1f
commit 065b48569f
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-10-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Do not create
logs when TXN is disabled.
2006-10-05 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_PersonView.py (set_inactive): Check active status.
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_11): Upgrade

View File

@ -354,8 +354,7 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
if not os.path.isdir(env_name):
os.mkdir(env_name)
else:
env_flags = db.DB_CREATE|db.DB_PRIVATE|\
db.DB_INIT_MPOOL|db.DB_INIT_LOG
env_flags = db.DB_CREATE|db.DB_PRIVATE|db.DB_INIT_MPOOL
env_name = os.path.expanduser('~')
self.env.open(env_name,env_flags)