summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebd <>2005-05-18 14:16:29 (GMT)
committersebd <>2005-05-18 14:16:29 (GMT)
commitad72e09297a1964a9d78699fa902507eb05eceb0 (patch)
tree2b72aae797494e07c4d7d34f4b5eee2091c401fa
parentee75635a3088bb3837e6e35f8126af51482d620b (diff)
downloadexpression-ad72e09297a1964a9d78699fa902507eb05eceb0.zip
expression-ad72e09297a1964a9d78699fa902507eb05eceb0.tar.gz
expression-ad72e09297a1964a9d78699fa902507eb05eceb0.tar.bz2
Temporarily commented out Berkeley DB environment options, so to prevent it from crashing.
-rw-r--r--src/modules/dbxmldatabases.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/modules/dbxmldatabases.py b/src/modules/dbxmldatabases.py
index bececc0..02bf67e 100644
--- a/src/modules/dbxmldatabases.py
+++ b/src/modules/dbxmldatabases.py
@@ -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
)