Skip to content

Commit

Permalink
expression: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
winkyao committed Aug 1, 2017
1 parent 1699498 commit 55d25a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_cast.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ type builtinCastStringAsIntSig struct {
baseIntBuiltinFunc
}

// handleOverflow handle the overflow caused by cast string as int,
// handleOverflow handles the overflow caused by cast string as int,
// see https://dev.mysql.com/doc/refman/5.7/en/out-of-range-and-overflow.html.
// When an out-of-range value is assigned to an integer column, MySQL stores the value representing the corresponding endpoint of the column data type range. If it is in select statement, it will return the
// endpoint value with a warning.
Expand Down

0 comments on commit 55d25a1

Please sign in to comment.