Skip to content

Commit

Permalink
expression: corrected UNSINGED to UNSIGNED (#38462)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolbe authored Oct 14, 2022
1 parent eca7ecd commit 50425f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_math.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ func (b *builtinConvSig) conv(str string, fromBase, toBase int64) (res string, i

val, err := strconv.ParseUint(str, int(fromBase), 64)
if err != nil {
return res, false, types.ErrOverflow.GenWithStackByArgs("BIGINT UNSINGED", str)
return res, false, types.ErrOverflow.GenWithStackByArgs("BIGINT UNSIGNED", str)
}
if signed {
if negative && val > -math.MinInt64 {
Expand Down

0 comments on commit 50425f8

Please sign in to comment.