Skip to content

Move SQLite journal mode pragma to connection string#956

Merged
brandur merged 1 commit into
masterfrom
brandur-pragma-connection-string
Jun 21, 2025
Merged

Move SQLite journal mode pragma to connection string#956
brandur merged 1 commit into
masterfrom
brandur-pragma-connection-string

Conversation

@brandur

@brandur brandur commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

A small change to move the pragma to activate journal_mode to the
connection string instead of being run separately as its own PRAGMA
command. It should be a tiny bit faster, and it's not harmful for
legibility (in fact, I think it improves it in a small way too).

@brandur brandur requested a review from bgentry June 19, 2025 18:34
A small change to move the pragma to activate `journal_mode` to the
connection string instead of being run separately as its own `PRAGMA`
command. It should be a tiny bit faster, and it's not harmful for
legibility (in fact, I think it improves it in a small way too).
@brandur brandur force-pushed the brandur-pragma-connection-string branch from cf638a0 to 9bd6689 Compare June 21, 2025 07:31
@brandur brandur merged commit 0822454 into master Jun 21, 2025
10 checks passed
@brandur brandur deleted the brandur-pragma-connection-string branch June 21, 2025 07:34
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.

2 participants