Commit Graph

1167 Commits

Author SHA1 Message Date
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
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +08:00
97a4fae7d2 ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. (#12046) 2019-12-03 13:50:26 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
755fd1924b ddl: fix index length calculation (#13727) 2019-11-27 19:51:17 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
26537cd292 ddl: remove duplicate import and unused test result (#13744) 2019-11-26 20:16:43 +08:00
9cb05c7f38 ddl: update the error message of "modify/change column" to make it easier to understand (#13457) 2019-11-25 15:26:16 +08:00
86c6e568f1 ddl: speed up ddl tests (#13672) 2019-11-22 13:57:37 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
ce87b6c671 ddl: fix the error message for dropping primary key (#13665) 2019-11-21 17:24:10 +08:00
2dbbf7f028 planner: fill missing origin table name for DEFAULT() function (#12550) 2019-11-21 14:16:05 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
275984501f planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement (#13168) 2019-11-21 12:33:37 +08:00
1d527fb347 ddl: fix the result of executing "desc table" after altering "primary key" (#13616) 2019-11-20 16:24:44 +08:00
b75c38951a ddl: resolve table charset option from collation option (#13506) 2019-11-20 14:48:13 +08:00
ee7d367b43 ddl: add a binlog when dropping column (#13536) 2019-11-20 11:14:13 +08:00
280adf5117 ddl: update the error msg when dropping primary key (#13582) 2019-11-19 18:06:31 +08:00
aa8f6dfd60 optimize dll test (#13497) 2019-11-18 10:37:14 +08:00
40c9f9c6e4 executor: fix a batch get executor bug inside a transaction (#13473)
When the BatchGetExec runs inside a transaction, it should consider the data changes
in the membuffer.
2019-11-15 16:55:05 +08:00
b274eb2079 ddl, test : fix CI with adding new tk to execute additional sql. (#13447) 2019-11-15 10:17:11 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00