Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Jun 6, 2019
1 parent f128b23 commit 6a37584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func convertDecimalStrToUint(sc *stmtctx.StatementContext, str string, upperBoun
intStr = "0"
}
if sc.ShouldClipToZero() && intStr[0] == '-' {
return 0, overflow(str, tp)
return 0, overflow(intStr, tp)
}

var round uint64
Expand Down

0 comments on commit 6a37584

Please sign in to comment.