Commit Graph

26 Commits

Author SHA1 Message Date
0dc91069d8 table: avoid redundant encode in insert/update/delete. (#11532) 2019-08-07 10:16:48 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +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
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
e5f26cdeaf types: fix a bug in decimal multiplication (#7208) 2018-07-31 22:15:27 +08:00
b812cb517e expression, util: DecodeDecimal return real precision and frac (#6732) 2018-06-08 15:37:32 +08:00
8a326cae76 expression, util: handle err instead of panic in EncodeDecimal (#6758) 2018-06-05 19:38:30 +08:00
45dc066401 codec: improve the performance of decoding decimal (#5921) 2018-02-28 20:21:31 +08:00
4dd1fc208d codec, expression: support encoding a Chunk row (#5578) 2018-01-11 20:29:31 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
d925b59702 codec: let it panic when we try to encode a unspecified decimal. (#3695) 2017-07-14 23:29:05 +08:00
b19cc75a94 mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. (#2082)
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
e31b281ee7 *: use new MyDecimal implementation. (#1611) 2016-08-22 20:24:39 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
458671af7e util/codec: unify decimal codec with tikv. (#1268) 2016-05-30 17:50:23 +08:00
05043bfb0c *: fix decimal codec bug, see #1265. (#1266) 2016-05-30 10:34:14 +08:00
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
38f77b979c utll/codec: fix decimal codec 2016-03-28 19:58:25 +08:00
df410c9eb6 *: tiny clean up. 2015-12-08 22:31:49 +08:00
883e520c4a util/codec: tiny refactor decimal codec. 2015-12-08 18:51:26 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
038ab131b1 util/codec: address comment. 2015-09-10 15:18:02 +08:00
2a72346857 util/codec: address comments. 2015-09-10 14:58:23 +08:00
5d0d30d642 util/codec: fix a bug for decimal encoding and add more tests.
fix bug.
2015-09-10 14:06:28 +08:00
1b1de4ba69 util/codec: update decimal codec. 2015-09-10 13:31:55 +08:00