Simpl-Resultat/src-tauri
le king fu 5f4ef5aeee
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 3m16s
PR Check — Rust / rust (pull_request) Successful in 4m26s
test(db): pin the write lock held while the new pool opens (#543)
The review of PR #544 (comment 33133) left one mutation green: read the
plugin's options under the read lock of DbInstances, open the new pool
without any lock, then take the write lock for the insert only. A
statement of the plugin (execute, select) arriving while the new pool
opens would then find the plugin's pool instead of waiting for the swap.

The new test polls the swap once, so that it waits in the opening of the
new pool, then looks the pool up as the plugin's execute does: it must
wait for the swap and find the pool of one connection.

Refs #543

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:23:43 -05:00
..
capabilities feat: add Settings page with in-app updater support 2026-02-11 11:47:25 +00:00
icons feat(branding): replace default Tauri icon with custom design 2026-05-02 14:51:55 -04:00
src test(db): pin the write lock held while the new pool opens (#543) 2026-11-13 19:23:43 -05:00
.gitignore Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00
build.rs Initial project scaffold: Tauri v2 + React + TypeScript + TailwindCSS v4 2026-02-07 11:05:11 +00:00
Cargo.lock fix(db): run every statement on one connection of the plugin's pool (#543) 2026-11-12 20:34:54 -05:00
Cargo.toml fix(db): run every statement on one connection of the plugin's pool (#543) 2026-11-12 20:34:54 -05:00
tauri.conf.json chore: release v0.18.0 2026-11-10 19:30:24 -05:00