Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert SQLite directory to URI #2922

Merged
merged 35 commits into from
Jul 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
Dmitry committed Jun 29, 2023
commit 61da23dcd0d12ee5869ab7c6624f74c90ae90e45
6 changes: 5 additions & 1 deletion internal/backends/sqlite/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ func TestNewBackend(t *testing.T) {
URI: "file:./tmp/?mode=ro",
L: zap.NewNop(),
},
uri: &url.URL{},
uri: &url.URL{
Scheme: "file",
Opaque: "./tmp/",
RawQuery: "mode=ro",
},
},
}
for name, tc := range testCases {
Expand Down