Commit Graph

104 Commits

Author SHA1 Message Date
4c3dfe89e5 ddl: Partition duplicate name fix (#31782)
close pingcap/tidb#31681
2022-01-24 11:49:47 +08:00
849b6ec0cb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31411)
ref pingcap/tidb#29517
2022-01-08 14:04:37 +08:00
4ca3b02c90 ddl: fix concurrent column type changes(with changing data) that cause schema and data inconsistencies (#31051)
close pingcap/tidb#31048
2021-12-28 12:43:49 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
d252fd1c8c ddl: stable create expression index test (#29990) 2021-11-23 17:29:50 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
af09803e07 test: remove misuse of errors.ErrorStack in tests (#28661) 2021-10-09 14:17:24 +08:00
c87a70deb2 ddl: stable tests for expression index. (#27599) 2021-09-07 10:00:57 +08:00
5db91be2e1 ddl: restrain drop column with index using the same switch as EnableChangeMultiSchema (#27500) 2021-09-07 09:20:57 +08:00
6501c70015 ddl: add more tests for expression index (#27037) 2021-08-18 15:21:59 +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
a8adc4cf8e *: fix many leaks of the test case (#26909) 2021-08-06 13:55:12 +08:00
a9cba7c8e8 ddl: refine some error messages related to generated column and expression index (#26844) 2021-08-04 13:03:06 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00
cf5e2ffcce ddl: fix expression index with insert causes losing index data (#26248) 2021-07-22 18:04:15 +08:00
d05b6f4c71 dml: fix index column offset beyond the range (#25699) 2021-07-15 17:29:33 +08:00
1641b3411d executor: fix expression field for show keys from (#26119) 2021-07-15 10:29:33 +08:00
6db6111e68 test: remove useless code (#25664) 2021-06-22 17:47:23 +08:00
abe6896441 ddl: fix the data and indexes inconsistency during ctc (#25323) 2021-06-10 17:36:30 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
4bde135acd ddl: generated columns to be disallowed more completely for column type change operation (need to change the data) (#24320) 2021-05-07 16:06:42 +08:00
cc0eb408f8 ddl: fix update can see columns not public (#22307) 2021-04-07 13:00:32 +08:00
961cd66393 executor,planner: fix update join update unmatched outer row (#23491) 2021-03-26 19:43:23 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
9c48b24cb1 *: add clustered index info in show index from stmt (#23329) 2021-03-16 20:16:55 +08:00
cb94139137 ddl: fix err check (#22988) 2021-03-03 11:26:54 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
68aaa2fa7e *: fix auto-id allocate tracing (#22371) 2021-01-13 12:19:58 +08:00
be29d7e054 ddl: fix db_test failure caused by domain reload delay under a high overload (#21928)
Signed-off-by: AilinKid <314806019@qq.com>
2020-12-24 15:43:30 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00
52c5a10fef ddl, ci: force domain to reload schema before execute SQL. (#19580) 2020-11-03 12:07:11 +08:00
61356c819e ddl: support column type change from string to other types (#20623) 2020-10-27 17:00:35 +08:00
da70410fd3 ddl: Supports transitions between the same type (String types) (#20032) 2020-10-16 11:55:43 +08:00
0e4b809cad *: remove expression index out of the experiment feature (#19998)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-09-18 13:25:37 +08:00
94704d0cc4 expression: incorrect error message of inserting enum & set (#19380) 2020-09-11 15:48:24 +08:00
dd8f654d7d ddl: append column change args to job args after updating the tableInfo (#19619) 2020-09-09 19:33:47 +08:00
945f7cc4a0 ddl, tables: support the column type change between the integer types (#19059) 2020-08-26 21:30:14 +08:00
eb29a65ef2 ddl: tiny clean up and typo (#19110) 2020-08-11 11:01:02 +08:00
6088e58fa7 ddl: check the tiflash replica count when setting tiflash replica (#18826) 2020-08-03 15:10:47 +08:00
03003538d1 *: fix a lot of typos (#18917) 2020-08-03 11:03:33 +08:00
c7c98d7380 ddl: add addingDefinition field for adding partition replica check (#18495) 2020-07-29 17:08:26 +08:00
b69b49ef34 ddl: stabilize test TestParallelDDLBeforeRunDDLJob (#18227)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-07-02 19:02:08 +08:00
2acd1f26ce ddl: stabilize ddl tests (#18205)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-28 14:59:12 +08:00
7847cfdcca planner, ddl: fix a bug delete data on delete-only state column (#17048) 2020-06-18 14:17:01 +08:00
a8da23c254 test: fix data race caused by update global config (#17964)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-12 13:05:27 +08:00
05b2e2bdcc *: refactor Execute() and clean up code (#17678)
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
2020-06-09 13:58:39 +08:00
788dc28a74 ddl: fix parallel execution of "drop DB" and other DDL issue (#17566) 2020-06-04 12:25:52 +08:00