Temporarily commented out Berkeley DB environment options, so to prevent it from crashing.

This commit is contained in:
sebd 2005-05-18 14:16:29 +00:00
parent ee75635a30
commit ad72e09297
1 changed files with 8 additions and 7 deletions

View File

@ -169,7 +169,7 @@ def __init__():
Then opens all configured containers.
"""
DbXmlDatabase._environment = db.DBEnv()
DbXmlDatabase._environment.set_shm_key(35)
# DbXmlDatabase._environment.set_shm_key(35)
configuration = environs.getVar("configuration")
dbHome = configuration.getConfigAbsolutePath(
"""yep:module[@name="%s"]/yep:environment/@dbHome""" % __init__.__module__,
@ -177,14 +177,15 @@ def __init__():
)
DbXmlDatabase._environment.open(
dbHome, 0
|db.DB_INIT_LOCK
|db.DB_INIT_LOG
|db.DB_INIT_CDB
# |db.DB_INIT_LOCK
# |db.DB_INIT_LOG
|db.DB_INIT_MPOOL
|db.DB_INIT_REP
|db.DB_INIT_TXN
# |db.DB_INIT_REP
# |db.DB_INIT_TXN
|db.DB_CREATE
|db.DB_SYSTEM_MEM
|db.DB_THREAD
# |db.DB_SYSTEM_MEM
# |db.DB_THREAD
,
0
)