Upgrading Berkeley DB XML to version 2.2.13 requires the use of a flag on the DB environment.

This commit is contained in:
sebd 2006-02-24 12:37:34 +00:00
parent c84edf2380
commit 3c2beabcad
1 changed files with 1 additions and 0 deletions

View File

@ -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__,