When opening the Berkeley DB environment, step
authorArt Cancro <ajc@citadel.org>
Fri, 16 Nov 2007 16:09:22 +0000 (16:09 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 16 Nov 2007 16:09:22 +0000 (16:09 +0000)
commita628a32b3aa5de956e82815eda48b3f347190c18
treecdb9d49db49d1980ea4a1e38337bf04fb0ca1263
parent1e656d277fe91b7c4f5d73eab4a0dd0b7a173145
When opening the Berkeley DB environment, step
through three different dbenv->open() attempts.  The first opens the environment
normally.  If that fails with DB_RUNRECOVERY, it is attempted again with the
DB_RECOVER flag set.  If that fails with DB_RUNRECOVERY, it is attempted once
again with DB_RECOVER_FATAL.  If that fails, the program exits.
citadel/database_sleepycat.c