LegacySecretDirectory returns DuckDB's pre-pinning default persistent-secret location for a worker whose HOME is its DataDir ( /.duckdb/stored_secrets). This is where secrets accumulated before SecretDirectory pinning existed, and the only reason it's a named helper is so the recycle wipe an
(cfg Config)
| 908 | if entry.stopRefresh != nil { |
| 909 | entry.stopRefresh() |
| 910 | } |
| 911 | _ = entry.db.Close() |
| 912 | delete(s.fileDBs, username) |
| 913 | } |
| 914 | } |
| 915 | |
| 916 | // openBaseDB creates and configures a DuckDB connection with threads, memory |
| 917 | // limit, temp directory, extensions, and cache_httpfs settings. |
| 918 | // This shared setup is used by both regular and passthrough connections. |
no outgoing calls