-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: transact-rs/sqlx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Could not load branches
Nothing to show
Loading
...
head repository: emschwartz/sqlx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Could not load branches
Nothing to show
Loading
- 7 commits
- 5 files changed
- 2 contributors
Commits on Feb 23, 2026
-
feat: add SqliteRwPool for single-writer, multi-reader connection poo...
...ling Adds SqliteRwPool, a connection pool that maintains a single writer and multiple readers for SQLite WAL-mode databases. Queries are automatically routed based on SQL analysis — SELECTs, EXPLAINs, read-only PRAGMAs, and read-only WITH CTEs go to readers; everything else goes to the writer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
-
fix: resolve clippy warnings in SqliteRwPool
Use try_from instead of truncating cast, unwrap_or instead of unnecessary closure, and unwrap_or_default for default construction. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
fix: use runtime-agnostic spawn in rw_pool concurrent reads test
Replace tokio::spawn with sqlx_core::rt::spawn so the test works with any async runtime (e.g. async-global-executor), not just Tokio. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
refactor: remove auto-routing from SqliteRwPool
Users must now explicitly call .reader() or .writer() to route queries. The Executor impl on &SqliteRwPool always delegates to the writer pool. This removes the SQL classification heuristics and simplifies the Executor impl to a direct delegation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-
Commits on Apr 14, 2026
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main