Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for selecting journal mode #137

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

aristath
Copy link
Member

@aristath aristath commented Jul 25, 2024

This is an alternative to #102
Supporting WAL mode is good, however if we add support for that, we should also add supoport for other journaling types as well.
This PR adds a SQLITE_JOURNAL_MODE constant, and if it has one of the valid & supported values, then we make the query to set the journal_mode in the DB.

Props @soulteary 👍

@aristath aristath merged commit f691c22 into develop Aug 7, 2024
9 checks passed
@aristath aristath deleted the add/journal-mode branch August 7, 2024 06:22
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.

1 participant