4449eb062a
ddl: add ddl job error count limit, exceed the limit should cancel the ddl job ( #9295 )
2019-02-27 15:03:04 +08:00
8357d0a234
ddl: add err check in table.go ( #9385 )
...
fix the errcheck
2019-02-21 16:58:47 +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
33a961decf
ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs ( #9226 )
2019-02-18 11:34:13 +08:00
f522de2e8f
ddl: support "or replace" option when create view ( #8856 )
2019-01-16 19:54:22 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
e646276f4b
planner,executor: basic support for DROP_VIEW ( #8758 )
2019-01-04 10:53:02 +08:00
0147e0cece
ddl: refine cancel/rollback ddl job code. ( #8858 )
2019-01-03 17:11:14 +08:00
680368f81d
ddl : fix concurrent add partition problem ( #8783 )
2018-12-29 20:14:39 +08:00
ffa375fdc2
ddl: fix cancel drop table/database ddl job bug. ( #8537 )
...
* ddl: fix cancel drop table bugs
2018-12-26 10:34:07 +08:00
7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
4e8c424718
*: basic support for CREATE_VIEW ( #8571 )
2018-12-18 20:17:27 +08:00
355a6290a1
ddl: fix a data race in unit test TestTableSplit ( #8719 )
2018-12-18 11:40:00 +08:00
1d7d01cfe8
ddl: support altering the other charset to utf8 or utf8mb4 ( #8037 )
2018-12-10 12:58:18 +08:00
0b8417614c
ddl: support truncate table on hash partitioned table ( #8401 )
2018-12-03 16:12:41 +08:00
e11859e653
*: support creating a hash partitioned table ( #8026 )
2018-11-20 16:15:09 +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
82c9f2c8a8
ddl, domain: make schema correct after canceling jobs ( #7997 )
2018-10-25 18:30:58 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
7b8caa1acd
ddl: fix reassigned partition id in truncate table does not take effect ( #7919 )
...
fix reassigned partition id in truncate table does not take effect
2018-10-23 18:14:47 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
fc80029b2a
ddl: partition by range value should accept constant expression ( #7442 )
...
In partitioned table definition, the range value maybe not an integer,
it could be a constant expression.
For example, the following two cases are the same:
PARTITION p0 VALUES LESS THAN (TO_SECONDS('2004-01-01'))
PARTITION p0 VALUES LESS THAN (63340531200)
2018-08-21 17:13:31 +08:00
d1246b3c91
ddl: notify stats worker when truncate table ( #7356 )
2018-08-13 13:53:22 +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
9331a079f5
ddl:create table partition value must be strictly increasing ( #6912 )
...
* ddl:create table partition value must be strictly increasing
2018-07-09 18:02:48 +08:00
c562bfff6f
ddl:support table partition in alter table add partition ( #6421 )
...
support alter table add partition
2018-06-26 12:40:51 +08:00
6edbf58f5f
ddl: speed up the operation of "create table" ( #6861 )
2018-06-25 21:06:40 +08:00
42675d97fb
ddl: adjust the structure of ddl ( #6449 )
2018-06-14 17:13:50 +08:00
f56e130eed
ddl, parser: support 'ALTER TABLE RENAME KEY TO' syntax ( #6475 )
2018-06-07 13:32:17 +08:00
34f0764f38
ddl: handle parallel rename table ( #6462 )
...
* ddl: handle parallel rename table
2018-05-08 17:28:20 +08:00
a6976c0ca9
ddl:support alter table comment ( #6127 )
2018-04-02 11:43:12 +08:00
1d07320c66
*: support create time in information_schema ( #5590 )
2018-01-22 13:33:20 +08:00
bd5309437e
ddl, model: clean up ( #5583 )
...
* ddl: rename updateTableInfo to updateVerAndTblInfo and add finish function
2018-01-15 13:16:01 +08:00
5a555703c0
*: garbage collect useless stats info ( #5587 )
2018-01-11 17:10:30 +08:00
04ef7d7992
*: shard implicit row ID ( #5513 )
2018-01-04 16:32:41 +08:00
427b02e00a
ddl: support alter table auto_increment ( #5472 )
2017-12-27 13:41:33 +08:00
c003acfe6e
ddl: fix the case that fails to split a table ( #5496 )
2017-12-26 16:44:34 +08:00
113bae29e5
ddl: clean up ( #5333 )
2017-12-07 13:53:03 +08:00
cbceac701d
*:fix the bug about auto-increment key after renaming a table from old DB to the another DB ( #5248 )
2017-11-29 15:31:16 +08:00
030b3628d5
*: Remove the check of initialized auto ID ( #4971 )
2017-11-02 12:24:19 +08:00
ec5955d48f
ddl: adjust table split. ( #4926 )
2017-11-01 14:46:42 +08:00
35fe2cae42
ddl, statistics: resolve the package dependency. ( #4960 )
2017-10-31 17:13:30 +08:00
98b2f3b0aa
ddl: remove reorgTableDeleteLimit ( #4898 )
2017-10-26 15:29:28 +08:00
4550e91919
ddl: Fix rename table bug ( #4862 )
2017-10-26 12:41:47 +08:00
6a8225787f
*: update job state name ( #4818 )
2017-10-19 14:44:57 +08:00
bc84be8df2
*: split separated region for newly created table. ( #4592 )
2017-09-25 15:59:22 +08:00
f5fd467f46
*: change terror.ErrorEqual to Error.Equal, which is more effetive ( #4217 )
2017-08-17 20:06:48 +08:00