Skip to content

Add support for running commands before hardcoded pragmas #1450

Description

@RikudouSage

I tried building this project with sqlcipher, but it fails because the pragma key = '...' needs to be the first command after opening the database (if it's encrypted of course).

The issue is that the SQLiteDriver.Open() issues various pragmas before letting the client code. This could either be fixed by adding support for a new _pragma_key parameter or adding support for running arbitrary pragmas before the first PRAGMA busy_timeout = %d; runs.

Activity

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