Closed szarnyasg closed 5 months ago
Thanks for the report! CALL sqlite_attach
is read-only, ATTACH
is read-write, so this seems consistent/correct to me. Attaching a file that does not exist creates the file which matches DuckDB's behavior (and SQLite's default behavior).
What happens?
The documentation says:
When the file is not available,
ATTACH
succeeds butCALL
fails.To Reproduce
Works:
Fails:
OS:
macOS Sonoma
SQLite Version:
n/a
DuckDB Version:
0.9.0
DuckDB Client:
CLI
Full Name:
Gabor Szarnyas
Affiliation:
DuckDB Labs
Have you tried this on the latest
main
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?