Commit Graph

45 Commits

Author SHA1 Message Date
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
0cafb707ee ddl: using pingcap/log and unify the log format (#9659) 2019-03-19 14:54:42 +08:00
38cfb0d435 ddl: add rolling back for rename table, modify table charset, truncate table partition (#9602) 2019-03-13 16:05:56 +08:00
c8c92e2dd7 ddl: refine cancel modify column, add/drop foreign key rollback (#9419) 2019-02-27 14:07:34 +08:00
79a88a0b3c ddl: fix cancel truncate table ddl error (#8977) 2019-02-22 16:58:04 +08:00
45ee205896 ddl :fix cancel add/drop partitioned table ddl job (#8938) 2019-02-19 17:22:41 +08:00
33a961decf ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs (#9226) 2019-02-18 11:34:13 +08:00
da31a461e7 ddl: fix cancel rename index ddl error (#8610) 2019-01-08 19:29:47 +08:00
e646276f4b planner,executor: basic support for DROP_VIEW (#8758) 2019-01-04 10:53:02 +08:00
0147e0cece ddl: refine cancel/rollback ddl job code. (#8858) 2019-01-03 17:11:14 +08:00
eaeaca74ae ddl: fix cancel drop column ddl error (#8545) 2018-12-28 11:28:26 +08:00
ffa375fdc2 ddl: fix cancel drop table/database ddl job bug. (#8537)
* ddl: fix cancel drop table bugs
2018-12-26 10:34:07 +08:00
6e2d6c7aa7 ddl: fix cancel drop index error (#8504) 2018-12-07 23:29:23 +08:00
d301c16e0e ddl: fix a bug that cancel add index ddl job when workers are not run, which cause tidb ddl hang up (#8171) 2018-11-28 17:10:55 +08:00