Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

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
Choose a base ref
Loading
...
head repository: emschwartz/sqlx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 5 files changed
  • 2 contributors

Commits on Feb 23, 2026

  1. 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>
    emschwartz and claude committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    dd661e2 View commit details
    Browse the repository at this point in the history
  2. cargo fmt

    emschwartz committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    5aaae71 View commit details
    Browse the repository at this point in the history
  3. 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>
    emschwartz and claude committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    efcfaa0 View commit details
    Browse the repository at this point in the history
  4. 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>
    emschwartz and claude committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    fc46b24 View commit details
    Browse the repository at this point in the history
  5. 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>
    emschwartz and claude committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    704c1a4 View commit details
    Browse the repository at this point in the history
  6. cargo fmt

    emschwartz committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    0bd54c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2026

  1. Configuration menu
    Copy the full SHA
    2028bdc View commit details
    Browse the repository at this point in the history
Loading

AltStyle によって変換されたページ (->オリジナル) /