Skip to content

Commit

Permalink
Update model.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fzzf678 committed Oct 27, 2022
1 parent 8f388f9 commit f526037
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parser/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ func (c *ColumnInfo) GetTypeDesc() string {
return desc
}

// EmptyColumnInfoSize is the memory usage of ColumnInfoSize
const EmptyColumnInfoSize = int64(unsafe.Sizeof(ColumnInfo{}))

// FindColumnInfo finds ColumnInfo in cols by name.
Expand Down

0 comments on commit f526037

Please sign in to comment.