Skip to content

perl: Call loadConfFile() in doInit to avoid screwing sqlite journal mode. #176

Closed

Description

@mornfall

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.

please cherry-pick mornfall@f04d7b4 to fix the problem

Activity

  1. edolstra commented on Dec 20, 2013

    @edolstra
    Member

    Applied, thanks!

  2. added a commit that references this issue on Jan 1, 2024
  3. added a commit that references this issue on Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions