From 55d25a14b730b942901b83cfaa4696cdfa939818 Mon Sep 17 00:00:00 2001 From: winkyao Date: Tue, 1 Aug 2017 16:13:49 +0800 Subject: [PATCH] expression: cleanup --- expression/builtin_cast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression/builtin_cast.go b/expression/builtin_cast.go index cadcb96734479..75eb2c5d38bf0 100644 --- a/expression/builtin_cast.go +++ b/expression/builtin_cast.go @@ -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.