Skip to content

Commit c4f0aa1

Browse files
Merge pull request #4 from guriandoro/guriandoro-cardinality-index-parser
Fixed handling of cardinality fields in index parser
2 parents 0ab5552 + f17c78a commit c4f0aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableparser/tableparser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type IndexField struct {
3232
SeqInIndex int
3333
ColumnName string
3434
Collation sql.NullString
35-
Cardinality int
35+
Cardinality sql.NullInt64
3636
SubPart sql.NullInt64
3737
Packed sql.NullString
3838
Null string

0 commit comments

Comments
 (0)