Skip to content

Conversation

@rhcarvalho
Copy link
Contributor

Let SQLite use the default journal mode if none is given. This is important because the database may be in WAL mode already (which is persistent) and forcing it to DELETE mode unexpectedly changes the database out of WAL mode (also in a persistent way).

Closes #340.

Let SQLite use the default journal mode if none is given. This is
important because the database may be in WAL mode already (which is
persistent) and forcing it to DELETE mode unexpectedly changes the
database out of WAL mode (also in a persistent way).
@warmwaffles
Copy link
Member

I didn't realize this was a problem because I've always left it in WAL mode in my personal projects.

@warmwaffles warmwaffles merged commit f88773d into elixir-sqlite:main Dec 22, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connection inadvertently tries to change in/out of WAL journal_mode

2 participants