Commit Graph

1188 Commits

Author SHA1 Message Date
27f8c3668f ddl: fix auto_increment is not compatible with MySQL (#14755) 2020-02-14 11:32:14 +08:00
2ee3b33b59 domain: change some log's level to ERROR (#14779) 2020-02-13 19:24:12 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
0d0911680c ddl: fix create table with like bug when refer table has tiflash replica (#14772)
Signed-off-by: crazycs <crazycs520@gmail.com>
2020-02-13 18:25:35 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
9ffea356b1 *: support partition table in tiflash (#14735) 2020-02-13 09:59:47 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
5c76f58c2e *: remove until timestamp syntax in flashback statement since we not support this (#14604) 2020-02-07 17:58:40 +08:00
3c59e7ce56 ddl:Revert "ddl: speed up ddl test" (#14658) 2020-02-07 01:50:24 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
58c14adc02 ddl: speed up ddl test (#14639) 2020-02-05 17:10:55 +08:00
128ec02a9f test: fix a bug for leak check (#14592) 2020-02-05 14:15:23 +08:00
ebc6a2d39d *: add builtin aggregate function json_objectagg (#11154) 2020-02-04 21:41:55 +08:00
79eaa967bb ddl, stats: handle add/trunctate partition events (#14500) 2020-01-22 17:44:22 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
45d6962460 ddl: rename setval func for generated column (#14530) 2020-01-19 14:18:31 +08:00
bf01def757 ddl: avoid panic when creating partition table with unsupported expression (#14295) 2020-01-14 17:09:56 +08:00
2dcc032bc3 Makefile: add staticcheck (#14420) 2020-01-10 14:59:43 +08:00
ff096ee2cf ddl : support create sequence in TiDB. (#14112) 2020-01-09 19:38:14 +08:00
69ebdc83cb ddl: add column name to errBlobKeyWithoutLength error (#13453) 2020-01-07 19:30:39 +08:00
1f103e6fd7 ddl: check if the dropping index is primary key when doing "drop index primary on...". (#14122) 2020-01-07 13:31:34 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
2b7b657f42 ddl: throw warning when ALTER TABLE ORDER BY on table with primary key (#14324) 2020-01-03 19:41:09 +08:00
dd2e7575aa ddl: add support for renaming columns (#14281) 2020-01-03 13:16:09 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
b1c08ee276 ddl: fix anonymous indexes on the primary column (#14250) 2020-01-01 21:31:10 +08:00
4f7f70b982 ddl: make ddl test more stable (#14305) 2020-01-01 20:27:09 +08:00
0d76bdb04a *: fix schema change validation for partitioned table when transaction commit (#14235) 2020-01-01 19:17:09 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
c1bc9ffe5b *: add memory tracker for InsertExec and ReplaceExec (#14179) 2019-12-30 11:43:01 +08:00
86ae838d5a planner/core: disallow using hidden column in insert statement (#14150) 2019-12-26 16:08:55 +08:00
f944c5115f ddl: move initialization of TableID and PartitionID out of buildTableInfo (#14184) 2019-12-24 21:44:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
1d60894c96 ddl: add index progress metric (#14055) 2019-12-20 21:50:43 +08:00
4cd837aad1 ddl: fix ErrGCTooEarly when adding an index to the partition table (#14029) 2019-12-19 12:07:49 +08:00
42adca989e tables: basic support for hidden column (#13908) 2019-12-17 21:48:46 +08:00
5940bb2ceb ddl: check foreign key constraint when drop,modify,change column (#14043) 2019-12-17 16:52:16 +08:00
881038ee1b session: support 'GLOBAL SCOPE' for tidb_enable_table_partition (#14062) 2019-12-17 10:10:25 +08:00
3ee6bc8a21 ddl: fix the bug that VIEWs can be dropped by DROP TABLE syntax (#14048) 2019-12-13 17:07:43 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +08:00
3b3b488a65 *: close tickers properly (#13902) 2019-12-05 13:32:39 +08:00
7ccbdc12b3 tables: remove struct Table (#13877)
* done

* fix typo

* fix typo
2019-12-04 15:19:38 +08:00
41d2a334c2 test: fix ddl test duplicated test cases due to wrong embedding struct (#13886) 2019-12-04 13:30:41 +08:00
c5e1302908 planner: support plan digest (#13124) 2019-12-03 21:08:55 +08:00
9bd7a6de90 *: support flashback dropped/truncated table (#13109) 2019-12-03 19:49:48 +08:00