Commit Graph

143 Commits

Author SHA1 Message Date
1a9a7a614c statistics,planner: let index support sync stats (#35879)
ref pingcap/tidb#35764
2022-07-11 17:23:05 +08:00
6e22e47f06 parser,ddl: support 'set tiflash mode' ddl and support check tiflash mode in tiflash_replica table (#35851)
ref pingcap/tidb#35850
2022-07-07 15:15:03 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
d5898d03a9 ddl: remove onDropIndexes (#35960)
ref pingcap/tidb#14766
2022-07-06 12:17:02 +08:00
aec4349cac statistics: let index support LoadNeededHistograms (#35775)
ref pingcap/tidb#35764
2022-07-04 14:03:00 +08:00
d1c8af6284 ddl: make ToProxyJob return value to avoid heap allocation (#35882)
ref pingcap/tidb#14766
2022-07-01 16:06:39 +08:00
bc00ddb3ca ddl: remove onDropColumns and onAddColumns (#35862)
ref pingcap/tidb#14766
2022-06-30 22:58:39 +08:00
c6103886b1 *: enable all gosimples (#35762)
ref pingcap/tidb#35345
2022-06-29 11:54:39 +08:00
2c4d1dfd36 ddl: implement the core for multi-schema change (#35429)
ref pingcap/tidb#14766
2022-06-24 19:34:38 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
cd690e3d54 ddl: expose getPrimaryKey() as a public method of model.TableInfo (#35512)
close pingcap/tidb#35511
2022-06-20 18:16:36 +08:00
b3475f2570 ddl: add front-end checks for multi-schema change (#35358)
ref pingcap/tidb#14766
2022-06-15 11:04:33 +08:00
fb67ee4412 ddl: add data structure SubJob for multi-schema change (#35231)
ref pingcap/tidb#14766
2022-06-10 12:36:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
d45a9c8af8 executor, parser, sessionctx: push down InRestrictedSQL flag to proto buffer (#34861)
close pingcap/tidb#34860
2022-05-26 14:06:47 +08:00
81a852077a executor, parser: indicate analyze is auto or not in proto buffer (#34608)
close pingcap/tidb#34607
2022-05-20 17:42:38 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08:35 +08:00
93859ddff0 ddl: correct the job.SchemaState in DROP cases (#34235)
ref pingcap/tidb#32939
2022-04-28 12:14:51 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
ffa4ba91e3 parser: turn some functions into member functions of model.Job (#34175)
ref pingcap/tidb#31716
2022-04-24 14:42:49 +08:00
67b073425f ddl: fix inappropriate schema state output by admin show ddl jobs (#33850)
ref pingcap/tidb#23494, close pingcap/tidb#24420
2022-04-11 15:26:34 +08:00
0d7602eb65 *: fix http api document and a comment (#33834)
close pingcap/tidb#33833
2022-04-11 13:50:34 +08:00
be76f885e6 ddl, parser: fix concurrent rename table (#33354)
close pingcap/tidb#32610
2022-04-07 17:48:33 +08:00
c6b47c918f ddl: refactor adjustColumnInfoInAddColumn for multi-schema change (#32820)
ref pingcap/tidb#14766
2022-03-29 17:34:29 +08:00
33e76327ab br: Consider partition table's placement for br (#33139)
ref pingcap/tidb#32290
2022-03-16 20:05:52 +08:00
3f3a061afe ddl: Add CreatePlacementPolicyWithInfo to ddl.DDL (#32986)
close pingcap/tidb#32951
2022-03-11 11:43:51 +08:00
6dbf2de2f0 explain: use partition name in original case (#32817)
close pingcap/tidb#32719
2022-03-07 14:33:48 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +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
c8bef987ae *: support variable tidb_last_ddl_info (#32414)
close pingcap/tidb#32402
2022-02-17 16:43:40 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
e50e03c92c parser, ddl: update the DDL job's Location structure (#31199)
close pingcap/tidb#31212
2022-01-03 14:53:51 +08:00
xhe
4f30a14256 ddl: support batch create table (#28763) 2021-12-31 17:13:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
6e6db1fd35 binlog: allow multiple ddl targets (#30904) 2021-12-24 12:55:47 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
93e2c12346 *: Rename some names of placement ddl operation (#30622) 2021-12-11 00:41:57 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
28446605c2 expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664) 2021-12-03 15:57:54 +08:00
6898975a7d parser: fix missing charset and collation of handle column (#30320) 2021-12-02 17:05:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
a90c98816e ddl: fix none info of alter table placement (#29929) 2021-11-24 16:53:53 +08:00
a237e41d9f ddl : support alter table xx nocache operations switch a table into uncacheable (#29621) 2021-11-11 17:19:06 +08:00
17edc5758f parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361) 2021-11-10 18:17:05 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
11b61738f3 parser: migrate test-infra to testify (#29191) 2021-10-28 12:30:49 +08:00
a3f3924388 parser: support analyze/stats options when create/alter table (#29056) 2021-10-27 14:54:49 +08:00
63d5b02496 DDL: Support skip placement validation (#29016) 2021-10-27 13:10:49 +08:00
1777bd0e86 ddl : support alter table xx cache operations (#29022) 2021-10-25 22:08:48 +08:00