Skip to content
Snippets Groups Projects
Commit f1e5dedb authored by Petr Rockai's avatar Petr Rockai Committed by Eelco Dolstra
Browse files

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.
parent 7d203faf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment