Commit Graph

37 Commits

Author SHA1 Message Date
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
da5574a067 */tests: remove ineffectual assignment in tests (#24225) 2021-04-25 11:35:54 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00
60460be42f *: unify NeedRestoredData and CommonHandleNeedRestoredData (#23266) 2021-03-19 19:51:36 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
536dfdfe2f executor: always decode the value first and then the handle (#22073) 2021-01-04 16:37:15 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
a428d472e9 *: remove the unused terminology (#19727)
* *: remove the unused terminology

* rename back

* delete more

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-04 17:12:01 +08:00
4f96c84637 util/rowcodec: make IsRowKey() recognize common handles (#19228) 2020-08-17 13:48:28 +08:00
3f38fa5d02 executor, planner: enable duplication check on prefix clustered index (#19099)
* executor, planner: store clustered prefix index intact

* make fmt

* address comment

* decoding row value is prior than decoding key

* unexport DecodeHandleToDatum()

* make fmt

* address comments

* fix unit test: TestSplitRegionTimeout
2020-08-13 14:05:18 +08:00
07ae6078e8 *: support clustered index for fast analyze (#18767) 2020-08-07 19:22:14 +08:00
127ad504b2 table: optimize add record used in lightning (#18102) 2020-06-24 15:18:01 +08:00
fa551115e6 *: fix update bug in cluster index (#18045) 2020-06-16 17:06:26 +08:00
d66d5028da *: support plain insert on cluster index table (#17674) 2020-06-05 13:23:43 +08:00
1758f86de6 util: support clustered index for table scan (#17616) 2020-06-03 20:17:13 +08:00
552e7709de *: refactor decoder to avoid useless fieldType convert (#17632) 2020-06-03 18:13:56 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
15e961ad37 rowcodec: forbidden Kind{Null/MinNotNull/MaxValue} encode datum & add test (#16223) 2020-04-13 10:39:09 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
86a148bdee rowcodec: fix panic when encode MaxUint16 len data (#15404) 2020-03-16 20:20:53 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +08:00
41142266b2 *: use SetString() for string instead of SetBytes() (#14989) 2020-03-02 15:48:10 +08:00
332cef97f5 *: support index encode/decode for new collation (#14876) 2020-02-27 11:33:33 +08:00
23ce3b29c9 rowcodec: make TypeYear's decodeDatum result consist with insert datum (#14717) 2020-02-12 14:56:59 +08:00
099782898e rowcodec: fix lose decimal precision during decode new row format to datum (#14631) 2020-02-05 10:10:24 +08:00
6e648401e4 rowcoder: fix DatumMapDecoder ignore the sign of handle value (#14494) 2020-01-16 13:14:50 +08:00
a84a73899b rowcodec: fix encode corrupted data cause by reuse new encoder (#14368) 2020-01-08 10:40:09 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
b364b89b48 rowcodec: make rowcodec can be used for mocktikv & unistore (#13774) 2019-12-09 14:49:08 +08:00
760d27c51f util: fix staticcheck errors (#13456) (#13651) 2019-11-22 17:20:25 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
922f569136 util/rowcodec: add new row codec lib (#7597) 2019-08-12 16:39:41 +08:00