1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00

* Disable fsync() in SQLite if the fsync-metadata option is set to

false.
* Change the default for `fsync-metadata' to true.
* Disable `fsync-metadata' in `make check'.
This commit is contained in:
Eelco Dolstra 2010-02-24 13:12:57 +00:00
parent 90b6352d0a
commit a3c63d0d6c
4 changed files with 9 additions and 9 deletions

View file

@ -191,9 +191,6 @@ private:
/* Lock file used for upgrading. */
AutoCloseFD globalLock;
/* Whether to do an fsync() after writing Nix metadata. */
bool doFsync;
/* The SQLite database object. */
SQLite db;