81fa1b37e8
*: refactor GetSnapshot ( #20475 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-10-16 11:30:43 +08:00
afd223c32b
ddl: support create list partition table ( #20279 )
2020-10-15 20:24:24 +08:00
79711ad6b8
ddl: support alter sequence ( #20405 )
2020-10-14 17:06:11 +08:00
a8dea3a2a1
ddl: refine error message for expression index ( #20337 )
2020-10-09 17:11:40 +08:00
789581bf29
parser: disallow subquery without table alias ( #19102 )
2020-10-09 15:53:40 +08:00
5ad75fd215
ddl, executor: add error for functional index cannot refer to an auto-increment column ( #20336 )
...
Signed-off-by: lihaowei <haoweili35@gmail.com >
2020-10-09 08:14:40 +08:00
6342fa6a50
ddl: fix corrupted default value for bit type column ( #18036 )
2020-10-04 12:59:40 +08:00
80f3c9e836
expression: unset binary flag for *_bin collation column ( #20269 )
2020-10-04 11:01:10 +08:00
57b244e9e0
ddl, errno: fix expression index allows row function ( #19987 )
...
Signed-off-by: wangggong <793160615@qq.com >
2020-09-30 16:23:54 +08:00
412cf83592
ddl: make use of the new rule cache api[3/3] ( #20291 )
2020-09-30 16:01:21 +08:00
c8221fab81
ddl: support column type change between decimal && SQL mode warnings ( #20012 )
2020-09-29 15:56:35 +08:00
b61f8bb9ed
ddl: make use of the new rule cache api[2/3] ( #20208 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-09-28 18:44:12 +08:00
a30be605cd
ddl : table meta may hold wrong information if checkPartitionByRange panic ( #19814 )
2020-09-28 15:11:42 +08:00
0528a1f12f
*: handle the to-do item of rebuilding ReorgInfo key when executing modify/change column ( #19866 )
2020-09-27 08:34:36 +08:00
856c44eb88
ddl: fix placement test ( #20230 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-09-27 07:30:07 +08:00
0843f32c09
DDL: check table-level check constraint when create table ( #20202 )
...
Signed-off-by: AilinKid <314806019@qq.com >
2020-09-25 14:35:40 +08:00
0673f3376f
ddl: make use of the new rule cache api[1/3] ( #20166 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-09-25 10:27:38 +08:00
877d871a03
ddl: fix clean dead table lock panic ( #20198 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-09-24 17:19:42 +08:00
d72adf893a
DDL: Reduce the impact on DML when executing partition DDL ( #19991 )
2020-09-23 14:56:38 +08:00
934ecf2db1
ddl: add a framework for placement rules cache ( #20086 )
2020-09-23 14:40:58 +08:00
fd0299f58e
*: remove simple rewriter ( #19828 )
2020-09-23 12:17:53 +08:00
6a10e21292
ddl: stablize testSerialSuite.TestCancelAddIndexPanic ( #19761 )
2020-09-22 16:05:00 +08:00
8d798bbee1
ddl: generate a unique name for changing column and changing indexes ( #19774 )
2020-09-22 14:49:24 +08:00
6a8e27eefd
ddl: enlarge the limit of the number of partitions in a table ( #20089 )
2020-09-18 17:05:57 +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
73e03c75e6
ddl: check constraint when alter enum/set type column ( #19806 )
2020-09-17 09:52:14 +08:00
8ae5b1cfd1
ddl: fix panic tidb-server doesn't release table lock ( #19586 )
2020-09-15 19:31:41 +08:00
b7364a317b
*: add rollbacking logic for column type change ( #19531 )
2020-09-15 17:23:00 +08:00
473bbb35d8
ddl: correct default year value ( #19793 )
2020-09-14 13:19:05 +08:00
94704d0cc4
expression: incorrect error message of inserting enum & set ( #19380 )
2020-09-11 15:48:24 +08:00
8446ec9e08
tikv: support scatter region with option api ( #19844 )
2020-09-11 14:02:34 +08:00
c7a836b609
ddl: support create table with expression index ( #18125 )
...
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* add
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* save
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* Update ddl/ddl_api.go
Co-authored-by: Lynn <zimu_xia@126.com >
* 2
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-10 15:26:15 +08:00
dd8f654d7d
ddl: append column change args to job args after updating the tableInfo ( #19619 )
2020-09-09 19:33:47 +08:00
5435980006
store/tikv: implement async commit version of resolve locks ( #18467 )
2020-09-09 08:09:51 +08:00
bc3c84afb2
ddl: add partition should not take table information ( #19671 )
2020-09-08 21:33:53 +08:00
449587a085
*: using standard error to replace terror ( #19425 )
2020-09-08 20:15:51 +08:00
b446feaf94
test: fix ci failure in TestParallelDropSchemaAndDropTable ( #19825 )
2020-09-08 15:16:47 +08:00
82a3724748
ddl: alter rules when truncating partitions ( #19505 )
2020-09-04 14:54:05 +08:00
48eb295925
*: change some tests using failpoint to serialSuite ( #19753 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-03 21:12:58 +08:00
42eaaa590d
*: move backfillWorker code to backfilling.go, update logs and comments ( #19503 )
2020-09-02 15:48:38 +08:00
6f1311f4fc
session: enable clustered index by default for new clusters ( #19688 )
2020-09-02 12:00:58 +08:00
bc63f4660b
ddl: reject adding auto_random column ( #19618 )
2020-09-02 10:24:56 +08:00
357d432d4e
ddl: fix rollback of adding partition table ( #19329 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-02 09:33:31 +08:00
2ae1cc175f
ddl: allow altering auto_increment to a large number ( #19241 )
...
* ddl: allow altering auto_increment to a large number
* fix the edge case problem of auto_inc option
* revert last commit
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-01 21:38:31 +08:00
e62e1fec50
ddl: forbidden changing decimal to int ( #19645 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-01 21:25:21 +08:00
7bdb785d0f
ddl: fix a bug that dropping primary key lead to implicit invisible primary key success ( #19281 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-01 21:05:10 +08:00
ea7590aa86
ddl: unify flag processing behaviors between add/modify columns ( #19467 )
...
* ddl: unify behaviors between add/modify columns
* ddl: add a test
* ddl: improve test
* ddl: improve test
also kicked one test, as it is not operated by the tested function.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-01 16:20:52 +08:00
f82e5320ad
ddl: handle store closed in doDDLJob ( #18844 )
...
* ddl: handle store closed in doDDLJob
* fix typo
* fix test
* fix test
* address comment
* address comments
* fix test
* address comment
* address comment
* fix data race
* fix data race
* don't repeat code
* address comment
* adress comment
* avoid failpoint change between two injection
* add comments
* change behaviour, fix test
* fix build option
* remove used variable
* Revert "remove used variable"
This reverts commit df93c431163515a496015f20f323ea91480f0020.
* modify comment
* try fix deadlock
* try fix deadlock
* try fix test
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
2020-09-01 11:27:33 +08:00
1a3103a0e9
ddl: disallow drop clustered primary key even if allow-alter-pk is true ( #19525 )
...
Co-authored-by: Evan Zhou <coocood@gmail.com >
2020-08-31 21:54:59 +08:00
15f300b8cb
ddl: fix check partition expr miss the parentheses expr ( #19466 )
2020-08-31 15:07:23 +08:00