diff options
author | Petr Rockai <me@mornfall.net> | 2013-11-24T20·22+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-20T12·59+0100 |
commit | f1e5dedb611d39ecc600fccb4eba4b0de730c5fc (patch) | |
tree | 447c5385a28a6f21c07b6fcdc1a7b033bb1bcc4f /src/nix-store | |
parent | 7d203faff6d74d839324cd082236381d20444d8e (diff) |
perl: Call loadConfFile() in doInit to avoid screwing sqlite journal mode.
If the database is opened through perl bindings (and even though nix.conf has use-sqlite-wal set to false), the database is automatically converted into WAL mode. This makes the next nix process to access the database convert it back to "truncate". If the database is still open at the time in wal mode by the perl program, this fails and crashes the nix doing the wal -> truncate conversion.
Diffstat (limited to 'src/nix-store')
0 files changed, 0 insertions, 0 deletions