Commit Graph

33 Commits

Author SHA1 Message Date
7bd1790fbf util: use std/slices to replace exp/slices (#46052)
ref pingcap/tidb#45933
2023-08-14 10:18:29 +00:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
1624123b84 *: fix time zone problems encountered when changing the other type columns to timestamp type columns (#31843)
close pingcap/tidb#29585
2022-02-21 23:11:42 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
4e078d6315 util: use clone() to avoid reusing the same memory (#27372) 2021-08-19 18:18:02 +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
f24dee95fe ddl: fix column type change won't cast the default value to new one (#25025) 2021-06-02 11:43:38 +08:00
9fe539c5a1 ddl: fix alter int to bit will panic in backfill index (#24263) 2021-05-07 17:48:42 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
905e9af74d util: pre-alloc memory for decoding rows (#22508)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-25 14:59:08 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
c5c3053c31 ddl: support column type change from integer to other types (#20536)
Signed-off-by: AilinKid <314806019@qq.com>
2020-10-23 11:11:25 +08:00
945f7cc4a0 ddl, tables: support the column type change between the integer types (#19059) 2020-08-26 21:30:14 +08:00
07ae6078e8 *: support clustered index for fast analyze (#18767) 2020-08-07 19:22:14 +08:00
baf6c99b95 *: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408) 2020-07-24 12:59:47 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
3f6f36f742 *: refactor table.IterRecord and extract some methods (#18214)
* *: refactor table.IterRecord and extract some methods

* fix ci test

* fix ci test

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-29 09:24:34 +08:00
7daa4a7f88 *: fix bugs that creating index on clustered index table or table with the virtual generated column (#18114) 2020-06-19 19:58:37 +08:00
fa551115e6 *: fix update bug in cluster index (#18045) 2020-06-16 17:06:26 +08:00
3176b00c02 executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison (#17245) 2020-05-20 13:55:18 +08:00
1417ba2288 *: fix a bug that don't handle truncate properly for virtual generated column (#17217) 2020-05-14 20:57:55 +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
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
05f66f4384 ddl: fix invalid index on multi-layer virtual columns (#11260) 2019-07-24 11:15:22 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
8369ed2ffc ddl, util: Handle default values for generating column expressions when adding an index (#9371) 2019-02-27 12:59:18 +08:00
d3b92e0288 ddl: fix panic when add index of generated column. (#8620) 2018-12-11 18:08:18 +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
1434fa9b89 admin: refine admin check decoder (#7862) 2018-10-23 17:55:58 +08:00
fd71236e41 ddl: fix alter add index on virtual column bug (#7575) 2018-10-10 13:50:20 +08:00