Skip to content

Commit

Permalink
Merge branch 'master' into nv/add-patch-version
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie authored Jul 1, 2024
2 parents 37f92bb + 96ebfe0 commit e1307b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func parseColumnDataType(originalS string) (DataType, *Opts, error) {
return -1, nil, fmt.Errorf("failed to parse precision value %q: %w", s, err)
}

scale, err := strconv.Atoi(parts[1])
scale, err := strconv.ParseUint(parts[1], 10, 16)
if err != nil {
return -1, nil, fmt.Errorf("failed to parse scale value %q: %w", s, err)
}
Expand Down

0 comments on commit e1307b6

Please sign in to comment.