Skip to content

sqlite: add SqliteConnectOptions::shared_cache() - #1177

Merged
abonander merged 1 commit into
transact-rs:masterfrom
link2xt:sharedcache
Apr 28, 2021
Merged

abonander merged 1 commit into
transact-rs:masterfrom
link2xt:sharedcache

Conversation

@link2xt

@link2xt link2xt commented Apr 17, 2021

Copy link
Copy Markdown
Contributor

This makes it possible to open database in shared cache mode without
having to construct sqlite:// URL with ?cache=shared flag.

@link2xt

link2xt commented Apr 17, 2021

Copy link
Copy Markdown
Contributor Author

Enabling shared cache seems to fix performance regression compared to rusqlite at chatmail/core#2353 for me.

This makes it possible to open database in shared cache mode without
having to construct `sqlite://` URL with `?cache=shared` flag.
@abonander
abonander merged commit 405474b into transact-rs:master Apr 28, 2021
@link2xt
link2xt deleted the sharedcache branch April 28, 2021 08:13
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