8e812d87c0
ddl: check no partitions error when create partition table ( #9531 )
2019-03-09 13:13:42 +08:00
0267a7fbdf
ddl: validate fsp for datetime/timestamp if they are used as defaultvalue of datetime/timestamp columns ( #9327 )
2019-03-04 11:19:11 +08:00
7ac4902b8f
ddl: disallow generated column referring to auto_increment column ( #9234 )
2019-03-01 11:50:13 +08:00
f46c558a60
ddl,table/tables: handle partition by range column when len(column)=1 ( #9082 )
...
create table ... 'partition by range column', when len(column)=1,
the case can be transformed to 'partiton by range'
2019-02-20 17:02:14 +08:00
dec3ab6358
ddl: support alter algorithm INPLACE/INSTANT ( #8811 )
2019-02-20 10:22:26 +08:00
b845f2a4da
executor, planner: support show create view ( #9309 )
2019-02-19 10:18:57 +08:00
c8554f826d
ddl: fix a bug when adding an index to a generated column with an expression error ( #9216 )
2019-02-12 17:47:48 +08:00
59c7b69187
ddl: disallow alter table on view ( #8890 )
2019-01-17 00:57:21 +08:00
083b818bf4
ddl: fix NO_ZERO_DATE handled incorrectly ( #8765 )
2019-01-16 17:47:53 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
3c98f69266
*: support select partition for partition table ( #8990 )
2019-01-14 20:55:52 +08:00
e646276f4b
planner,executor: basic support for DROP_VIEW ( #8758 )
2019-01-04 10:53:02 +08:00
4616e8ca82
ddl: update comments ( #8845 )
2019-01-02 16:40:46 +08:00
0840a5e478
ddl: new only one delRange and sessionPool in ddl ( #8522 )
2018-12-27 14:57:47 +08:00
ef7082da1c
ddl, executor: fix rename table compatibility ( #8709 )
2018-12-22 22:19:41 +08:00
4e8c424718
*: basic support for CREATE_VIEW ( #8571 )
2018-12-18 20:17:27 +08:00
198971f4b3
ddl: fix data race in unit test TestChangeColumn ( #8724 )
2018-12-18 14:27:49 +08:00
355a6290a1
ddl: fix a data race in unit test TestTableSplit ( #8719 )
2018-12-18 11:40:00 +08:00
db2127a0dd
ddl: split tests to speed up tests ( #8612 )
...
* ddl: add the db_partition_test
2018-12-13 15:06:04 +08:00
e03ef6099c
ddl: support alter table .. truncate partition ( #8624 )
2018-12-11 13:52:57 +08:00
1d7d01cfe8
ddl: support altering the other charset to utf8 or utf8mb4 ( #8037 )
2018-12-10 12:58:18 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
b3e40bf94f
ddl: alter table add partition on hash partitioned table ( #8375 )
2018-12-04 15:17:53 +08:00
419c881207
domain: stop schema validator to prohibit DML executing when tidb lost session of etcd ( #8441 )
2018-11-28 14:04:57 +08:00
a3e25b2f8f
ddl: add some test code to mock genGlobalID fail ( #8440 )
2018-11-26 23:16:36 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
508f5dd626
binlog: use pumps client to write binlog ( #8070 )
2018-10-27 17:52:01 +08:00
38274c39c3
*: fix the issue of executing DDL after executing SQL failure in txn ( #8044 )
...
* ddl, executor: fix the issue of executing DDL after executing SQL failure in txn
2018-10-25 15:52:13 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
54b526af17
ddl: add TiDB version to metrics ( #7902 )
2018-10-18 15:15:29 +08:00
732233ad93
ddl: add check when create table with foreign key. ( #7885 )
...
* ddl: add check when create table with foreign key
2018-10-17 20:21:10 +08:00
e544882d0b
ddl:support the definition of null change to not null using alter table ( #7771 )
...
* ddl:support the definition of null change to not null using alter table
2018-10-17 17:13:01 +08:00
cc09ecab22
util: add WithRecovery util method ( #7666 )
2018-09-20 20:21:02 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
794c4f4d5e
ddl: reduce the interval for checking "create table/schema" ( #7608 )
2018-09-12 12:51:43 +08:00
1fa5669fb4
ddl: fix partition function check for partitioned table ( #7464 )
2018-08-23 18:17:43 +08:00
82a6c1085c
*: introduce the concept of physical ID, code refactory ( #7374 )
2018-08-16 10:33:24 +08:00
9fc67b9a9f
store TiDB server info to PD and add http api handle ( #7082 )
2018-08-15 12:51:00 +08:00
2225e01264
ddl:add constraints check when creating table partition ( #7164 )
...
* ddl: add unique index check when creating table partition
2018-08-06 21:22:33 -05:00
30a6cc305b
ddl, metrics: add worker info to the log ( #7201 )
2018-08-03 11:15:26 +08:00
5944432c0d
ddl: Refactor add index reorganization related code ( #7184 )
2018-08-01 11:17:49 +08:00
58248563bc
ddl: add primary key default value check when create table ( #7169 )
2018-07-31 15:44:11 +08:00
d2aab148fc
ddl: add metrics and clean up ( #7168 )
2018-07-31 10:44:05 +08:00
6815dec5b3
ddl: implement reorganize for table partition when adding index ( #6814 )
...
* Handle DDL reorganization for table partitions one by one
* Reorganize metadata changed from handle to startHandle, endHandle, partitionID
2018-07-27 17:49:21 +08:00
da6f0c1edd
ddl: initial support for parallel DDL ( #6955 )
2018-07-25 10:48:38 +08:00
ade23a02a3
ddl: fix genGlobalID function repetition RunInNewTxn ( #7130 )
2018-07-23 20:53:14 +08:00
f59f696d23
ddl: add partion function check when create partion table ( #7111 )
...
* ddl: add partion func check when create partion table
2018-07-23 20:40:10 +08:00
46e5ff3f41
ddl: support truncate partitioned table and drop partitioned table ( #7036 )
2018-07-23 13:30:36 +08:00
6663f63534
ddl:check partition count limit when create partitioned table and add partitioned table ( #7069 )
...
* check partition count limit when create partitioned table and add partitioned table
2018-07-19 13:53:33 +08:00
cc722546ef
ddl:support alter table drop partition ( #6460 )
...
support alter table drop partition
2018-07-11 18:26:19 +08:00