Commit 8d5719c
Fix DuckLake detach by switching away from default database first
When DuckLake is configured, we set it as the default database with
`USE ducklake`. On connection close, attempting to `DETACH ducklake`
fails with: "Cannot detach database 'ducklake' because it is the
default database."
Fix by running `USE memory` before detaching to switch to a different
database first.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 72f7837 commit 8d5719c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
0 commit comments