Skip to content

Commit

Permalink
fix:let smallint into int16
Browse files Browse the repository at this point in the history
  • Loading branch information
lei.zhang committed Sep 10, 2021
1 parent 47a40ac commit e095784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/view/cnf/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ var TypeMysqlMatchList = []struct {
{`^(blob)[(]\d+[)]`, "[]byte"},
{`^(binary)[(]\d+[)]`, "[]byte"},
{`^(decimal)[(]\d+,\d+[)]`, "float64"},
{`^(mediumint)[(]\d+[)]`, "string"},
{`^(mediumint)[(]\d+[)]`, "int16"},
{`^(mediumint)[(]\d+[)] unsigned`, "uint16"},
{`^(double)[(]\d+,\d+[)]`, "float64"},
{`^(float)[(]\d+,\d+[)]`, "float64"},
{`^(datetime)[(]\d+[)]`, "time.Time"},
Expand Down

0 comments on commit e095784

Please sign in to comment.