Commit Graph

20 Commits

Author SHA1 Message Date
52b7bfda0e types: use switch table to save memory (#9650) 2019-03-12 22:04:22 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
68ddb7f0e6 *: fix the lower bound when converting numbers less than 0 to unsigned integers (#8544) 2019-01-10 16:04:07 +08:00
87838774e6 types: let round take effect in converting float string to int string. (#8279) 2018-11-26 15:55:11 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
3febc22811 expression: fix cast json to decimal bug. (#8030) 2018-10-29 17:02:32 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
5baedaa21c expression, types: fix some corner case when parsing string to datetime (#7701) 2018-10-08 10:35:52 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
40a4a2dfe8 fix compatibility bug with convert string to int return wrong result (#7483) 2018-08-31 14:47:01 +08:00
11616c46c0 types,expression: make 'invalid time format' error log more friendly (#6069) 2018-03-17 06:40:37 -05:00
fc6376981d *: remove GetSessionVars() in expression evaluation (#5683) 2018-01-22 11:04:32 +08:00
5db9ac2506 types,util/chunk: refactor Time for Chunk. (#5571) 2018-01-09 10:12:27 +08:00
b1e1a26151 types: refine Time type (#5521)
remove redundant fields, makes it easier to fit in Chunk.
2017-12-30 19:30:35 +08:00
970e5b5684 *: replace JSON with BinaryJSON (#5460) 2017-12-21 15:20:17 +08:00
c790b50957 types: fix large float64 to bigint (#5247) 2017-11-29 15:56:13 +08:00
9921f41491 types: add overflow truncate when convert str to float (#5130) 2017-11-22 15:52:23 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00