Skip to content

Commit

Permalink
Remove init when opening space (#48)
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Aug 31, 2023
1 parent ccd343e commit 9875aa9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions go/storage/space.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ import (
)

var (
ErrSchemaIsNil = errors.New("schema is nil")
ErrManifestNotFound = errors.New("manifest not found")
ErrBlobAlreadyExist = errors.New("blob already exist")
ErrBlobNotExist = errors.New("blob not exist")
ErrSchemaNotMatch error = errors.New("schema not match")
ErrColumnNotExist error = errors.New("column not exist")
ErrSchemaIsNil = errors.New("schema is nil")
ErrManifestNotFound = errors.New("manifest not found")
ErrBlobAlreadyExist = errors.New("blob already exist")
ErrBlobNotExist = errors.New("blob not exist")
ErrSchemaNotMatch = errors.New("schema not match")
ErrColumnNotExist = errors.New("column not exist")
)

type Space struct {
Expand Down Expand Up @@ -374,7 +374,7 @@ func Open(uri string, op option.Options) (*Space, error) {
}
}
space := NewSpace(f, path, m, nextManifestVersion)
space.init()
// space.init()
return space, nil
}

Expand Down

0 comments on commit 9875aa9

Please sign in to comment.