3975: Accessing an incompatible database corrupts the database

Undoing unset of DB_RECOVERY flag, we need it to have ACI(D) database


svn: r16562
This commit is contained in:
Benny Malengier 2011-02-03 22:23:36 +00:00
parent cfa0851118
commit 60e8c0c013

View File

@ -423,6 +423,9 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
db.DB_INIT_MPOOL | db.DB_INIT_LOCK |\
db.DB_INIT_LOG | db.DB_INIT_TXN | db.DB_THREAD
# As opposed to before, we always try recovery on databases
env_flags |= db.DB_RECOVER
# Environment name is now based on the filename
env_name = name