mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 10:57:51 +00:00
fix comment
This commit is contained in:
parent
641832ae10
commit
40b1192692
1 changed files with 3 additions and 1 deletions
4
index.go
4
index.go
|
|
@ -79,9 +79,11 @@ func (i *Index) Open() error {
|
|||
i.logger().Printf("opening database: %s", filepath.Base(fi.Name()))
|
||||
|
||||
db, err := i.newDB(i.DBPath(filepath.Base(fi.Name())), filepath.Base(fi.Name()))
|
||||
if err != nil {
|
||||
if err == ErrName {
|
||||
i.logger().Printf("ERROR opening database: %s, err=%s", fi.Name(), err)
|
||||
continue
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := db.Open(); err != nil {
|
||||
if err == ErrName {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue