|
|
e50e03c92c
|
parser, ddl: update the DDL job's Location structure (#31199)
close pingcap/tidb#31212
|
2022-01-03 14:53:51 +08:00 |
|
|
|
4f30a14256
|
ddl: support batch create table (#28763)
|
2021-12-31 17:13:50 +08:00 |
|
|
|
088a2444df
|
*: persist analyze options for manual and auto analyze (#30939)
|
2021-12-30 00:39:49 +08:00 |
|
|
|
6e6db1fd35
|
binlog: allow multiple ddl targets (#30904)
|
2021-12-24 12:55:47 +08:00 |
|
|
|
b4df7ca4dc
|
test: make all the tests run in serial (#30692)
|
2021-12-14 18:06:36 +08:00 |
|
|
|
93e2c12346
|
*: Rename some names of placement ddl operation (#30622)
|
2021-12-11 00:41:57 +08:00 |
|
|
|
c08f7fc65c
|
*: show PK name when decoding the clustered index row key (#30623)
|
2021-12-10 21:53:58 +08:00 |
|
|
|
28446605c2
|
expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664)
|
2021-12-03 15:57:54 +08:00 |
|
|
|
6898975a7d
|
parser: fix missing charset and collation of handle column (#30320)
|
2021-12-02 17:05:54 +08:00 |
|
|
|
7746b6b70a
|
test: fix incorrect regexp pattern during migrating test (#30080)
|
2021-12-02 05:51:53 +08:00 |
|
|
|
a90c98816e
|
ddl: fix none info of alter table placement (#29929)
|
2021-11-24 16:53:53 +08:00 |
|
|
|
a237e41d9f
|
ddl : support alter table xx nocache operations switch a table into uncacheable (#29621)
|
2021-11-11 17:19:06 +08:00 |
|
|
|
17edc5758f
|
parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361)
|
2021-11-10 18:17:05 +08:00 |
|
|
|
49d995d577
|
*: Remove ALTER TABLE ... ALTER PARTITION ... (#29556)
|
2021-11-08 18:05:04 +08:00 |
|
|
|
11b61738f3
|
parser: migrate test-infra to testify (#29191)
|
2021-10-28 12:30:49 +08:00 |
|
|
|
a3f3924388
|
parser: support analyze/stats options when create/alter table (#29056)
|
2021-10-27 14:54:49 +08:00 |
|
|
|
63d5b02496
|
DDL: Support skip placement validation (#29016)
|
2021-10-27 13:10:49 +08:00 |
|
|
|
1777bd0e86
|
ddl : support alter table xx cache operations (#29022)
|
2021-10-25 22:08:48 +08:00 |
|
|
|
1bde14a6e9
|
*: Finish alter placement for objects (#28982)
|
2021-10-25 20:54:49 +08:00 |
|
|
|
94e30df8e2
|
parser: fix compiling, add unit tests (#28700)
|
2021-10-11 23:15:25 +08:00 |
|
|
|
db3b91a0b6
|
[parser] *: Support syntax of "CREATE/ALTER DATABASE [DEFAULT] PLACEMENT POLICY ..." (#1351)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
f4591b0e80
|
[parser] model: support database placement option and partition placement option (#1342)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
fef35aa8df
|
[parser] add placement rules to schema and partition (#1340)
Co-authored-by: Arenatlx <314806019@qq.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
444f2c51eb
|
[parser] parser: move policyinfo test from tidb to parser (#1330)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
d3cff95f9e
|
[parser] model: move placement policy definition into 2 parser (#1327)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
1057322cf7
|
[parser] parser: support create and alter placement policy (#1313)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
97cde8c296
|
[parser] Model: add the new field to the Job Struct. (#1273)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
386287d9b4
|
[parser] Support add/drop attributes for table or partition (#1271)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
83a9450089
|
[parser] Remove useless const AddIndexStr,AddPrimaryKeyStr (#1275)
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
fd730ec231
|
[parser] parser: support the 'create global temporary table' syntax (#1211)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
c298f32dd3
|
[parser] ddl: admin show ddl jobs output confusing with multiple jobs (#1210)
* change "none" 2 "queueing"
Signed-off-by: lihaowei <haoweili35@gmail.com>
* 4 review
Signed-off-by: lihaowei <haoweili35@gmail.com>
* restore origin word
* *: change none 2 queueing
|
2021-10-09 14:53:23 +08:00 |
|
|
|
bc860cdd5e
|
[parser] *: fix static check report (#1195)
* ast: base.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: expressions.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: misc_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: digester.go
Signed-off-by: xhe <xw897002528@gmail.com>
* goyacc: format_yacc.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: lexer_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: misc.go
Signed-off-by: xhe <xw897002528@gmail.com>
* model: model.go
Signed-off-by: xhe <xw897002528@gmail.com>
* model: model_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* *: parser_test.go
Signed-off-by: xhe <xw897002528@gmail.com>
* test_driver: test_driver_datum.go
Signed-off-by: xhe <xw897002528@gmail.com>
* test_driver: test_driver_mydecimal.go
Signed-off-by: xhe <xw897002528@gmail.com>
* ast: ddl.go, bugfix
Signed-off-by: xhe <xw897002528@gmail.com>
* mysql: errcode.go
charset/charset.go is passing errcode to NewStd, which requires int. But
here codes are uint16. To get rid of the error, uint16 is removed.
Signed-off-by: xhe <xw897002528@gmail.com>
* model: better test
Signed-off-by: xhe <xw897002528@gmail.com>
* *: fix timezone
Signed-off-by: xhe <xw897002528@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
8cd0659690
|
[parser] set right not null flag when newing extra PK (#1189)
* set right not null flag when newing extra PK
* add test
* fmt
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0ab86feca6
|
[parser] add ActionType: ActionDropIndexes (#1186)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
51f162cf17
|
[parser] model: add a version for the clustered index (#1172)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
1f210fe678
|
[parser] model: add a new TableInfoVersion for separating id allocators (#1170)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
6a18e2f063
|
[parser] *: support CLUSTERED and NONCLUSTERED syntax (#1153)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
bba8f9579c
|
[parser] model: Add StateGlobalTxnWriteOnly (#1104)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
61d4863dab
|
[parser] model: add functionality to check if a base table (#1080)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
ed62659e39
|
[parser] *: add alter table read only/write support (#1095)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
4d239a8573
|
[parser] *: tiny optimize for huge partition table (#1072)
* *: tiny optimize for huge partition table
Signed-off-by: crazycs520 <crazycs520@gmail.com>
* Update model/model.go
Co-authored-by: kennytm <kennytm@gmail.com>
Co-authored-by: kennytm <kennytm@gmail.com>
|
2021-10-09 14:53:23 +08:00 |
|
|
|
eb188bac29
|
[parser] ddl: support multiple table rename (#1021)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
527317804e
|
[parser] model: add an extra field on Job for passing argumens (#1052)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
fca01d8347
|
[parser] ddl: *support list column partition table (#1042)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0c0b9d0e05
|
[parser] model: add SQL mode and warnings field for ddl job (#1031)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
090d5ccc98
|
[parser] model: support add extra partition ID column (#1010)
define ExtraPidColID
add NewExtraPartitionIDColInfo to support create extra pid column
|
2021-10-09 14:53:23 +08:00 |
|
|
|
7a64b806d6
|
[parser] model: support columar table (#1000)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
0b129de5dd
|
[parser] model: add DroppingDefinitions for PartitionInfo (#970)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
ebb56dd2c8
|
[parser] model: fix null origin default value for bit column (#983)
|
2021-10-09 14:53:23 +08:00 |
|
|
|
96f79a6832
|
[parser] model: add replica only type to string (#978)
|
2021-10-09 14:53:23 +08:00 |
|