What happens?
Related to: duckdb/duckdb#21618
When a table is not found in an attached SQLite database, DuckDB Core iterates through all attached databases to generate "did you mean" suggestions. This triggers
GetCatalogTransaction() which calls Transaction::Get(), and for SQLite extension, this starts a transaction and opens the database file.
If a previously attached database file has been deleted, opening it fails with an error like:
Unable to open database "/path/to/deleted.db": unable to open database file
To Reproduce
look at duckdb/duckdb#21618
OS:
Mac
SQLite Version:
main
DuckDB Version:
1.5.1
DuckDB Client:
1.5.1
Full Name:
Tangruilin
Affiliation:
Alibaba Cloud
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?
What happens?
Related to: duckdb/duckdb#21618
When a table is not found in an attached SQLite database, DuckDB Core iterates through all attached databases to generate "did you mean" suggestions. This triggers
GetCatalogTransaction() which calls Transaction::Get(), and for SQLite extension, this starts a transaction and opens the database file.
If a previously attached database file has been deleted, opening it fails with an error like:
Unable to open database "/path/to/deleted.db": unable to open database file
To Reproduce
look at duckdb/duckdb#21618
OS:
Mac
SQLite Version:
main
DuckDB Version:
1.5.1
DuckDB Client:
1.5.1
Full Name:
Tangruilin
Affiliation:
Alibaba Cloud
Have you tried this on the latest
mainbranch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?