Commit Graph

16 Commits

Author SHA1 Message Date
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
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
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
74a1c9935d *: add StatementContext argument to functions. (#2157)
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +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
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +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