Commit Graph

34 Commits

Author SHA1 Message Date
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
f22098cc5d br: don't encode key of raw kv. (#36491)
ref pingcap/tidb#36490
2022-07-27 19:05:11 +08:00
98275ca97e util/codec: check length before slicing (#27442) 2021-08-20 23:36:01 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
892dcedf34 util/codec: add EncodedBytesLength (#15170) 2020-03-15 11:28:53 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37: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
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
c398110154 *: improve performance of DecodeBytes in DecodeOneToChunk (#6135) 2018-03-29 19:11:44 +08:00
5494a54db4 util: correct comments mistake (#3121) 2017-04-25 09:16:50 +08:00
08510fef0e util/codec: do not modify data while decoding bytes.
Decoding method should not modify the original data.
2016-03-29 12:08:30 +08:00
4e38c95411 util/codec: tiny clean up
make realloc more clearly
2016-01-19 11:38:29 +08:00
5266298560 executor/converter,ast: Fix bugs for running phpmyadmin
1. Add ShowGrants to oldShow convert, phpmyadmin can run up now.
2. Fix a bug in Accept of FuncLocateExpr, handling the Pos arg of LOCATE() not given.
2016-01-18 12:17:18 +08:00
202f56b4b8 Address comments 2015-12-29 10:51:46 +08:00
bd3db841fa util: Reduce allocation. 2015-12-28 12:30:56 +08:00
ef71bb7e2a util/codec: address comments 2015-12-10 17:25:33 +08:00
9b4f43e62f util/codec: add varint and compactBytes 2015-12-10 15:17:44 +08:00
befec95fe5 util/codec: address comment. 2015-12-09 21:31:07 +08:00
af6635b079 *: address comments. 2015-12-09 19:08:37 +08:00
8f988bfdb4 util/codec: add bytes codec test. 2015-12-09 17:59:33 +08:00
d0a8009db5 util/codec: address comments. 2015-12-09 15:55:00 +08:00
a111613c9c util/codec: address comments. 2015-12-09 14:35:48 +08:00
512dbae5ae util/codec: fix type and tiny update comment. 2015-12-09 12:00:02 +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
44819de730 *: fix key prefix. 2015-12-08 14:16:03 +08:00
835e5c4b2f util/codec: remove old bytes codec. 2015-12-07 23:23:19 +08:00
ed051106ea util/codec: fix bytes codec. 2015-12-07 23:20:53 +08:00
8ba428e2fe codec: fix typo 2015-11-24 12:01:12 +08:00
e8c8b1fdcb codec: update bytes alloc. 2015-11-24 11:58:40 +08:00
226615adc8 *: Fix deadlock and index out of bound 2015-11-23 16:49:57 +08:00
216c323f3e store: Using RWMutex instead of Mutex and reduce memory allocation 2015-11-23 16:36:21 +08:00
a2e688a32d util: add cockroach license 2015-09-07 20:53:15 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00