1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 00:51:47 +02:00

* Require Berkeley DB 4.4.

* Checkpoint after an upgrade.
This commit is contained in:
Eelco Dolstra 2005-12-06 15:00:04 +00:00
parent dc528128cc
commit 760264bffe
2 changed files with 6 additions and 4 deletions

View file

@ -306,11 +306,13 @@ void Database::open(const string & path)
/* Try again. */
open2(path, false);
/* Force a checkpoint, as per the BDB docs. */
env->txn_checkpoint(DB_FORCE, 0, 0);
}
else
rethrow(e);
}
}