summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebd <>2006-02-24 12:37:34 (GMT)
committersebd <>2006-02-24 12:37:34 (GMT)
commit3c2beabcad540bfe5c040ee5cf167672cb5b92e7 (patch)
treed0bf4e0fad2ec457237b309d3df239ac519b87d9
parentc84edf23807ccd26ce6e5aa27230e6521264f2fd (diff)
downloadexpression-3c2beabcad540bfe5c040ee5cf167672cb5b92e7.zip
expression-3c2beabcad540bfe5c040ee5cf167672cb5b92e7.tar.gz
expression-3c2beabcad540bfe5c040ee5cf167672cb5b92e7.tar.bz2
Upgrading Berkeley DB XML to version 2.2.13 requires the use of a flag on the DB environment.
-rw-r--r--src/modules/dbxmldatabases.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/dbxmldatabases.py b/src/modules/dbxmldatabases.py
index 7a02005..92eaf89 100644
--- a/src/modules/dbxmldatabases.py
+++ b/src/modules/dbxmldatabases.py
@@ -170,6 +170,7 @@ def __init__():
"""
DbXmlDatabase._environment = db.DBEnv()
# DbXmlDatabase._environment.set_shm_key(35)
+ DbXmlDatabase._environment.set_flags(db.DB_CDB_ALLDB, 1);
configuration = environs.getVar("configuration")
dbHome = configuration.getConfigAbsolutePath(
"""yep:module[@name="%s"]/yep:environment/@dbHome""" % __init__.__module__,