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:
parent
cfa0851118
commit
60e8c0c013
@ -423,6 +423,9 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
|||||||
db.DB_INIT_MPOOL | db.DB_INIT_LOCK |\
|
db.DB_INIT_MPOOL | db.DB_INIT_LOCK |\
|
||||||
db.DB_INIT_LOG | db.DB_INIT_TXN | db.DB_THREAD
|
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
|
# Environment name is now based on the filename
|
||||||
env_name = name
|
env_name = name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user