Files
turso/docs/sql-reference/cli
Hatem Jaber d0a3a93c6a cli/sync_server: address review feedback on --sync-dir
Wrap the open-database map in an OpenHandles type whose only insertion
path enforces the cap, so nothing can push it past --sync-max-databases.

Restrict database names to lowercase so that one name is one file and
one handle on case-insensitive filesystems too. Drop the Windows
reserved device name list: opening such a name simply fails.

Open directory databases with the caller's options as given instead of
the CLI shell options, which turn on extension loading.

Keep the server error message free of CLI flag names, tighten the help
text for --sync-max-databases, use TempDir in the unit tests, and trim
the docs and README to the essentials. Note that VACUUM INTO can write
outside the served directory alongside the existing ATTACH caveat.

Tests: cargo test -p turso_cli sync_server; cargo clippy --workspace
--all-features --all-targets; cargo check -p turso --features sync --tests

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y1uLrzBq9CGq6yUDpiqHnJ
2026-09-10 07:42:14 -04:00
..