You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqlite:// URL reads its query parameters as part of the file path #4389
Opening a sqlite:// URL with query parameters reads the parameters as part of the file path. sqlite:///path/to/shop.sqlite?name=Shop opens /path/to/shop.sqlite?name=Shop, a file that does not exist, so the driver creates an empty database under that name. The window title reads SQLite //path/to/shop.sqlite?name=Shop.
Without parameters the title is still SQLite //path/to/shop.sqlite. duckdb:// and beancount:// file URLs behave the same.
Steps to reproduce
Run open 'sqlite:///path/to/shop.sqlite?name=Shop'.
Click Connect.
The window title shows SQLite //path/to/shop.sqlite?name=Shop and the sidebar shows an empty database.
Expected behavior
The URL's path is the file, and name and the other documented parameters apply the way they do on server URLs. The window is titled Shop, or the file name when the URL has no name, as when the file itself is opened.
Activity