Commit Graph

18 Commits

Author SHA1 Message Date
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
1d252261a8 util: add more unit test (#10621) 2019-06-06 16:17:07 +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
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
25f1e808f5 Use the revive linter. (#7197) 2018-07-31 13:19:09 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +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
c2691114b4 *: check errors part 2 (#4704) 2017-10-09 12:46:45 +08: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
e3cbcad807 should use time.Since instead of time.Now().Sub (#4445) 2017-09-06 12:15:24 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
5494a54db4 util: correct comments mistake (#3121) 2017-04-25 09:16:50 +08:00
0a30e7e738 util/filesort: fix data race (#2799) 2017-03-09 10:21:35 +08:00
2d7a8ac0c0 util/filesort: Make sorting async (#2732) 2017-03-08 20:48:27 +08:00
9313558fea util/filesort: sort rows using file sort. (#2377) 2017-01-15 01:16:41 +08:00