stored table passed to GetSets as table in all returned sets

This commit is contained in:
Leon Vack 2020-01-14 11:06:46 +01:00
parent 19eb6eac29
commit 514aa0c301
No known key found for this signature in database
GPG Key ID: B66DAB934BCECCB7
1 changed files with 1 additions and 0 deletions

1
set.go
View File

@ -559,6 +559,7 @@ func (cc *Conn) GetSets(t *Table) ([]*Set, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
s.Table = &Table{Name: t.Name, Use: t.Use, Flags: t.Flags, Family: t.Family}
sets = append(sets, s) sets = append(sets, s)
} }