mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
Merge branch 'master' into FB-1281
This commit is contained in:
commit
cc4dcce181
1 changed files with 2 additions and 0 deletions
2
index.go
2
index.go
|
|
@ -341,7 +341,9 @@ func (i *Index) openField(mu *sync.Mutex, cfm *CreateFieldMessage, file string)
|
|||
}
|
||||
|
||||
i.holder.Logger.Debugf("add field to index.fields: %s", file)
|
||||
mu.Lock()
|
||||
i.fields[fld.Name()] = fld
|
||||
mu.Unlock()
|
||||
|
||||
return fld, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue