Commit Graph

63 Commits

Author SHA1 Message Date
300d9e7c63 ddl: Support flashback schema (#37438)
close pingcap/tidb#20463
2022-10-19 15:03:54 +08:00
6d0bbe8985 ddl: add foreign key check when drop column (#37843)
close pingcap/tidb#37842
2022-09-16 15:39:01 +08:00
f80a42d2d6 ddl: check index is needed in foreign key when drop index (#37813)
close pingcap/tidb#37812
2022-09-15 14:44:59 +08:00
96d2c25c92 ddl: implement intra-table DDL for SchemaTracker (#36176)
close pingcap/tidb#35933
2022-07-29 19:33:13 +08:00
9c3cf3f2e5 ddl: support modify column for multi-schema change (#36040)
ref pingcap/tidb#14766
2022-07-12 14:47:05 +08:00
a2cc6b8356 ddl: support add indexes for multi-schema change (#35989)
ref pingcap/tidb#14766
2022-07-07 20:15:02 +08:00
d5898d03a9 ddl: remove onDropIndexes (#35960)
ref pingcap/tidb#14766
2022-07-06 12:17:02 +08:00
0483c4c7f6 ddl: support drop indexes for multi-schema change (#35883)
ref pingcap/tidb#14766
2022-07-05 16:33:02 +08:00
bc00ddb3ca ddl: remove onDropColumns and onAddColumns (#35862)
ref pingcap/tidb#14766
2022-06-30 22:58:39 +08:00
17e2731c5f ddl: support drop columns for multi-schema change (#35737)
ref pingcap/tidb#14766
2022-06-30 16:28: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
dba4dab5d5 ddl: make reorgCtx maintained by ddlCtx (#33878)
close pingcap/tidb#34121
2022-05-26 13:40:47 +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
161e835df9 ddl: add ddlCtx for ddl interface (#34153)
ref pingcap/tidb#33635
2022-04-24 13:32:48 +08:00
43c0622d42 ddl: rewrites some DDL tests (#33277)
ref pingcap/tidb#33008
2022-03-23 13:30:32 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
592469352e ddl: Support ALTER DATABASE Placement Policy/ DirectOptions (#27894) 2021-10-09 14:25:25 +08:00
b35c7bc6e4 ddl: Support the operation of dropping multi-indexes in one statement (#20457) 2021-09-02 15:14:15 +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
cf5e2ffcce ddl: fix expression index with insert causes losing index data (#26248) 2021-07-22 18:04:15 +08:00
3e69ac2ed3 ddl: fix reorg goroutine leak after column-type-change is cancelled (#24616) 2021-06-05 00:04:28 +08:00
4db325d048 ddl: fix the covert job to rollingback job (#23903) 2021-04-16 10:35:51 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
b08bfd1ff7 ddl: fix duplicate entry message report by add index (#21241) 2020-11-25 17:42:50 +08:00
91db54ef8e ddl: Support multiple table rename (#19962) 2020-10-28 11:36:03 +08:00
b7364a317b *: add rollbacking logic for column type change (#19531) 2020-09-15 17:23:00 +08:00
449587a085 *: using standard error to replace terror (#19425) 2020-09-08 20:15:51 +08:00
92bf05fb09 ddl: Drop column with single value index (#18852)
* let drop column can drop index which column only have single-value index.

* Fix typo

* Remove unused codes and fix delete range when drop column with single-value index

* Let drop columns can delete single value index related columns

* Refactor unit test

* Add index exists test on drop composite index

* Add invisible index test and more result check on drop column

* Fix typo and refactor indexInfoContains

* Update comments

* Remove unnecessary code

* Remove unused codes

* Fix typo

* Remove unused code and fix comments

* Refactor, remove useless codes

Co-authored-by: bb7133 <bb7133@gmail.com>
Co-authored-by: Arenatlx <ailinsilence4@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-12 15:01:47 +08:00
c7c98d7380 ddl: add addingDefinition field for adding partition replica check (#18495) 2020-07-29 17:08:26 +08:00
1cc33b0b36 ddl: Support exchange partition (#17149) 2020-06-10 13:31:07 +08:00
65b7f0f119 ddl: add alter index visibility DDL support (#16914) 2020-05-08 15:17:08 +08:00
b0ce4131ce ddl: redece wait time when handling cancelling job (#16827) 2020-04-29 23:08:09 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
3b52c7f460 ddl, executor: refine error message for rollback DDL job (#16235) 2020-04-09 18:00:39 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
959eca8f3a ddl: Refine the error message of add index, to avoid error overwritten (#15808) 2020-04-01 22:14:16 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +08:00
ff6a4f7e8f kv: add error code for package kv (#12866) 2019-11-01 15:13:27 +08:00
5c21fa4b43 ddl: implement ALTER DATABASE to alter charset/collation (#10393) 2019-05-15 17:32:21 +08:00
b2c7f083e7 ddl: fix alter table charset bug and compatibility (#9790) 2019-04-04 19:52:58 +08:00
873d9514bc expression: move FindIndexByName to parser (#9951) 2019-04-01 13:36:49 +08:00
39a21e9eea config: add test for config (#9850) 2019-03-28 16:27:46 +08:00