Commit Graph

7 Commits

Author SHA1 Message Date
7aa024c9a0 *: add UTF8 check global variable. (#2899) 2017-03-23 08:56:21 +08:00
d85a4cb1c8 table/column: disable utf8 check. (#2895)
When old row has invalid utf8 value and the data doesn't change, we should not fail to update.
So temporarily disable utf8 check until we can handle this problem.

* *: change log level

* *: do not truncate
2017-03-20 17:24:59 +08:00
cca10bab58 table: check and truncate UTF8 string in CastValue. (#2819) 2017-03-15 11:26:19 +08:00
79be7364a9 *: fix reset stmt ctx when there are multiple statements (#2613) 2017-02-08 21:13:22 +08:00
1b8051d3c5 *: set and use Flags to properly handle truncate error (#2212) 2016-12-12 11:45:58 +08:00
6ef340fb32 util/types: properly handle truncate error for string to float or int. (#2186)
When converting from string to float or int, use StatementContext to handle truncate error.
Also directly convert a string to Int instead converting to float first, then convert float to int.
2016-12-07 19:42:46 +08:00
e288b3563f types/util: use statement context to handle truncate error. (#2147)
use statement context to handle truncate error in ConvertTo MyDecimal.
2016-12-01 19:11:07 +08:00