Skip to content

Commit

Permalink
fix: uninitialized map in schema struct
Browse files Browse the repository at this point in the history
  • Loading branch information
dosco committed Mar 5, 2021
1 parent 2c2b1a5 commit 0af0b46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/internal/sdata/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func NewDBSchema(
schema: info.Schema,
name: info.Name,
vt: make(map[string]VirtualTable),
fm: make(map[string]DBFunction),
tindex: make(map[string]nodeInfo),
ai: make(map[string]nodeInfo),
re: make(map[int32]TEdge),
Expand Down

0 comments on commit 0af0b46

Please sign in to comment.