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 30, 2023
commit 9d586741ef6c56c51dbd8d760359a447746c5408
3 changes: 0 additions & 3 deletions internal/backends/sqlite/metadata/pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ type Pool struct {

// New creates a pool for SQLite databases in the given directory.
func New(uri *url.URL, l *zap.Logger) (*Pool, error) {
// TODO accept URI with a directory name, not just directory name
// https://github.com/FerretDB/FerretDB/issues/2753

matches, err := filepath.Glob(filepath.Join(uri.Path, "*"+filenameExtension))
if err != nil {
return nil, lazyerrors.Error(err)
Expand Down