Commit Graph

1147 Commits

Author SHA1 Message Date
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
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
7f63a80e58 *: stabilize some tests for CI (#13381) 2019-11-13 11:31:50 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +08:00
bcad464009 ddl: check table name length when rename table (#13339) 2019-11-11 14:25:49 +08:00
b3bf319b1e domain: refine error code for package domain (#13033) 2019-11-09 22:21:51 +08:00
cd7a053dbb ddl, executor: limit the length of the index name when executing "create table" (#13016) 2019-11-09 14:19:42 +08:00
95e12c6a82 ddl: make TestModifyColumnNullToNotNull test stable (#13223) 2019-11-07 10:36:09 +08:00
27426daed4 *: make the version of etcd consistent with pd (#13176)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-06 12:08:03 +08:00
8d545a1804 ddl : fix column collate should use table's if it has when create table or alter table. (#13119)
fix column's collation should use table's collation
2019-11-06 11:16:26 +08:00
354d8723ca domain: avoid check schema changed when change is tiflash replica status (#13034) 2019-11-05 12:38:10 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
ff6a4f7e8f kv: add error code for package kv (#12866) 2019-11-01 15:13:27 +08:00
a8ed9501ee *: support the TiFlash replica of table (#12453) 2019-10-30 00:07:51 +08:00
4907685ed2 *: fix bug that the kill command doesn't work when the killed session is waiting for the pessimistic lock (#12852) 2019-10-24 17:26:12 +08:00
73213999ce executor: reuse chunk row for insert on duplicate update (#12847) 2019-10-23 21:57:07 +08:00
9a2aa5e153 ddl: speed up tests (#12888) 2019-10-23 21:15:44 +08:00
d15bf25961 planner: unfold the wildcard when creating view (#11818) 2019-10-22 17:55:16 +08:00
8e084422f7 ddl: check column and partition value have same type for range column partition (#12664) 2019-10-17 13:41:05 +08:00
8a8f41da6f ddl: fix create table check for range columns partition (#12622) 2019-10-15 15:08:33 +08:00
9597a4d3c7 planner: make createTable stmt foreign key choose parent table as default (#12548) 2019-10-14 10:48:05 +08:00