Commit Graph

4 Commits

Author SHA1 Message Date
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