Commit Graph

1618 Commits

Author SHA1 Message Date
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
a6bde1e4ef ddl: add http api to set customized ddl hook for remote ticase test (#24198) 2021-04-27 14:57:56 +08:00
6344f7a02e ddl: quickly process the next job after processing the cancelled DDL job (#24146) 2021-04-25 10:53:55 +08:00
xhe
feea6d6424 ddl: refactor constraints [3/6] (#24006) 2021-04-22 12:53:53 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
3bfa7d568a ddl: the column flag is changed after modifying column name (#23953) 2021-04-20 11:09:53 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
4db325d048 ddl: fix the covert job to rollingback job (#23903) 2021-04-16 10:35:51 +08:00
552503442e ddl: rollingback add index meets panic leads json unmarshal object error-2 master (#23913) 2021-04-15 23:45:52 +08:00
xhe
d4164ff372 ddl: rename const to common, separate its test [1/6] (#24004) 2021-04-15 22:05:52 +08:00
1e2cbf9a22 store/tikv: use []byte instead of kv.Key in package store/tikv (#23859) 2021-04-13 12:39:52 +08:00
24a53c392f tikv/region_cache:use []byte instead of kv.Key in KeyLocation (#23957) 2021-04-13 10:53:50 +08:00
xhe
2ea64b28fd executor,distsql: clean up useless interface (#23885) 2021-04-09 21:30:33 +08:00
67acdf3e90 ddl: support change from auto_inc to auto_random through 'alter table' (#20512) 2021-04-09 18:16:33 +08:00
cc0eb408f8 ddl: fix update can see columns not public (#22307) 2021-04-07 13:00:32 +08:00
91bcb21b57 ddl: fix secondary index len check for clustered index (#23710) 2021-04-01 21:03:26 +08:00
63fa91c46f ddl: prevent 'TEXT' columns without key length from being used in index (#23618) 2021-04-01 17:29:24 +08:00
9dfc786c4c *: fix a bug that wrong index data on prefixed clustered index (#23742) 2021-04-01 10:15:27 +08:00
xhe
d780a1f629 ddl: reorder flags checking (#23717) 2021-04-01 05:31:24 +08:00
7d7a2337d9 ddl: forbid type conversion between varchar and non-varchar (#23688) 2021-03-31 16:03:24 +08:00
f08e76cb1c store/tikv/kv:move tikv/error.go to tikv/kv/error.go (#23627) 2021-03-30 11:03:23 +08:00
961cd66393 executor,planner: fix update join update unmatched outer row (#23491) 2021-03-26 19:43:23 +08:00
b3b1177ac9 ddl: fix add partition hang when replica count greater than tiflash stores (#23556) 2021-03-26 18:08:46 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
3ea3c392b7 statistics: check duplicate columns and types for extended stats (#23437) 2021-03-25 19:38:45 +08:00
8c897b1f33 partition: check partition definition with unsigned option (#23428) 2021-03-23 19:31:37 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
1d5a81edb3 statistics: handle drop partition events for global-stats (#23343) 2021-03-22 14:29:36 +08:00
7d113f0dbe ddl: add truncate partition all support (#23040) 2021-03-19 23:11:36 +08:00
e79ac3d978 ddl: delay before changing column from null to not null (#23364)
* ddl: delay before changing column from null to not null

Signed-off-by: Yilin Chen <sticnarf@gmail.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Arenatlx <314806019@qq.com>
2021-03-19 10:17:34 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
080ed4ee7b store/tikv:move mockCommitErrorEnable from kv to tikv since it is only used in tikv (#23355)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: disksing <i@disksing.com>
2021-03-17 17:13:30 +08:00
9c48b24cb1 *: add clustered index info in show index from stmt (#23329) 2021-03-16 20:16:55 +08:00
26ccbe972a *: create int primary key table as nonclustered by default (#23046) 2021-03-16 19:19:49 +08:00
3641cd4fe0 executor: fix split table with large integers (#21277) 2021-03-15 16:18:56 +08:00
46f5f21772 ddl: fix ddl hang over when it meets panic in cancelling path (#23204) 2021-03-13 13:50:55 +08:00
f21c7ddac8 ddl: make TestNotifyDDLJob stable (#23232) 2021-03-11 17:56:55 +08:00
f8da635f5a *: refactor and fix the usages of DecodeIndexKV for clustered index (#23096) 2021-03-10 16:46:55 +08:00
8ae01abfd9 ddl, executor: fix creating unique index without partition column error when enable-global-index is true (#22471) 2021-03-05 16:10:54 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
2cdd8a30ca statistics: report error for extended statistics register on partitioned tables (#23089) 2021-03-04 15:50:15 +08:00
6f250b625e *: fix a bug that collation is not handle for text type (#23045) 2021-03-03 22:04:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
6087187afd ddl, metrics: speed up the execution of the DDL job (#22932) 2021-03-03 16:00:54 +08:00
cb94139137 ddl: fix err check (#22988) 2021-03-03 11:26:54 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
80be93b760 *: make binlog and clustered index exclusive (#22956) 2021-03-02 20:18:54 +08:00
24c9df147d *: refactor table.Table interface, clean up unnecessay methods (#22430) 2021-03-02 19:48:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00