Commit Graph

120 Commits

Author SHA1 Message Date
cfd4544801 ddl:support show create table with compression (#7782) 2018-09-26 18:13:03 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
b6072de3eb ddl:fix type bit could have null as its default value (#7604)
* ddl:fix type bit could have null as its default value
2018-09-05 16:22:31 +08:00
8d1acc2407 Fix bit default value bug (#7249) 2018-08-31 10:43:02 +08:00
bc97e2d616 plan, util/admin: fix admin check table error when a column of index is virtual generated (#6817) 2018-08-28 12:42:55 +08:00
0d18ac2c18 infoschema: fix bug when apply rename table diff (#7336) 2018-08-10 12:30:23 +08:00
359df6ecc2 variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg (#7116) 2018-08-08 17:16:05 +08:00
270ed29e4d model: implement UnmarshalJSON for CIStr (#7252)
* model: implement UnmarshalJSON for CIStr
2018-08-02 16:58:47 +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
5f7abc84fe *: fix panic that upgrade from old version TiDB. (#7136) 2018-07-24 18:59:29 +08:00
48a42fe424 tables: fix prefix index, when the charset is utf8, truncate it from runes (#7109) 2018-07-19 23:44:56 +08:00
cc722546ef ddl:support alter table drop partition (#6460)
support alter table drop partition
2018-07-11 18:26:19 +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
9ec13e8898 table/tables: modify AddRecord to handle table partition (#6684)
If table partition is used, AddRecord will add records to the
partition, according to the partition definitions.
2018-06-11 11:06:36 +08:00
f56e130eed ddl, parser: support 'ALTER TABLE RENAME KEY TO' syntax (#6475) 2018-06-07 13:32:17 +08:00
8c7f5dcb3e ddl: find max row id of the table that is backfilling indices, and just backfill indices in range [startHandle, maxRowID]. (#6518)
* ddl: fix bug when add index meet math.MaxInt64 handle.
2018-06-06 15:04:54 +08:00
f6a3c3f0a5 fix typo (#6738) 2018-06-03 23:28:15 +08:00
fbba541156 *: move basic functions and definitions to model package, to make constructing dag request more easier. (#6652) 2018-05-26 20:39:22 +08:00
a4715d5d75 *: unflatten datum in checkIndexAndRecord, to fix admin check table false alarm (#6625) 2018-05-24 15:56:02 +08:00
a37695f1e7 model: adding a variable to aovid compatible issue (#6586) 2018-05-21 14:27:42 +08:00
3324d3b33c admin: admin show ddl jobs add tableName, schema name (#6276) 2018-05-06 20:53:08 +08:00
7266631988 parser: trying to fix maxvalue list (#6309) 2018-04-20 15:53:17 +08:00
0d7a71cf16 executor: support table partition in show create table stmt (#6292) 2018-04-16 22:10:56 +08:00
998f696421 *: support set relation job (#6206) 2018-04-13 10:30:45 +08:00
533fac12b8 *: support create table with range type table partition. (#6251) 2018-04-12 21:56:27 +08:00
9382be808f ddl: wait for 2*lease when finishing delete-reorg in a rollback operation (#6226) 2018-04-08 23:57:56 +08:00
a6976c0ca9 ddl:support alter table comment (#6127) 2018-04-02 11:43:12 +08:00
6d133085bc infoschema: fix not null flag does not work (#6048) 2018-03-19 15:10:38 +08:00
090f7c5e12 admin: show more information on ddl history (#6035)
* admin:address comments

* output information limit number

* handling comment questions

* handling comment questions

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* *: fix test case

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments
2018-03-16 10:07:50 +08:00
a46480c830 *: export implicit rowid and use it in CRUD (#5984) 2018-03-15 16:35:58 +08:00
219f07ac8d ddl, model: add finished TS (#6026) 2018-03-13 10:47:53 +08:00
46e2d3e1cf plan: get correct columns (#5846) 2018-02-12 15:39:10 +08:00
96b60291ad model:use map instead of switch statment (#5735) 2018-02-02 11:45:51 +08:00
d520b0bdcc model: remove iota (#5753) 2018-01-31 09:46:50 +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
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
4d5dd323d9 *: the result of admin show ddl ... shows a job‘s start time (#5517) 2018-01-04 10:50:35 +08:00
427b02e00a ddl: support alter table auto_increment (#5472) 2017-12-27 13:41:33 +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
cd914b6611 plan, executor: remove NeedHandle field (#5144) 2017-11-21 15:20:24 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
6a8225787f *: update job state name (#4818) 2017-10-19 14:44:57 +08:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
3e125a4ccb ddl: Add the txn entry limit (#4458) 2017-09-07 13:27:30 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
584a0c32dc model, distsql: add unit tests (exclude distsql/xeval) (#3806) 2017-07-20 23:16:20 +08:00