mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
fix some comments
This commit is contained in:
parent
e40400b130
commit
61e527251a
2 changed files with 2 additions and 3 deletions
|
|
@ -3583,7 +3583,7 @@ func (e *executor) collectCallKeySets(ctx context.Context, indexName string, c *
|
|||
}
|
||||
}
|
||||
|
||||
// Collection foreign index keys.
|
||||
// Collect foreign index keys.
|
||||
if fieldName != "" {
|
||||
idx := e.Holder.indexes[indexName]
|
||||
if field := idx.Field(fieldName); field != nil && field.ForeignIndex() != "" {
|
||||
|
|
|
|||
3
index.go
3
index.go
|
|
@ -62,8 +62,7 @@ type Index struct {
|
|||
logger logger.Logger
|
||||
snapshotQueue snapshotQueue
|
||||
|
||||
// Used for notifying holder when a field is added.
|
||||
// Also passed to field for foreign-index lookup.
|
||||
// Passed to field for foreign-index lookup.
|
||||
holder *Holder
|
||||
|
||||
// Per-partition translation stores
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue