Commit Graph

2795 Commits

Author SHA1 Message Date
8c455e86c1 ddl: fix sequence object check error when alter table (#16625) 2020-04-21 10:14:09 +08:00
138f225d62 executor: only return the first row of a subquery (#16399) 2020-04-21 09:45:50 +08:00
5bf9ad7b81 executor: fix load data deal with escape character. (#16340) 2020-04-20 20:33:28 +08:00
8b6d53a4a9 expression: split isTrue and isFalse expression sig (#16542) 2020-04-20 20:11:47 +08:00
2a69052cf1 test: fix unit test and make test running serially. (#16525) 2020-04-20 17:44:26 +08:00
5bdc0eaf50 executor: fix slow_query bug when query with time equal condition (#16445) 2020-04-20 10:52:03 +08:00
a0c7407846 executor: set length and frac when we change zero to decimal t… (#16518) 2020-04-18 00:01:37 +08:00
7106b189df session: refine record execution duration metric (#16453) 2020-04-17 21:50:28 +08:00
25580ea5f4 *: Use a function to get the ONE, ZERO and NULL and fix the clone. (#16512) 2020-04-17 19:11:52 +08:00
6b034d4237 *: fix unexpected error when setting collate for database (#16283) 2020-04-17 18:25:33 +08:00
ff7413fedb planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache (#16321) 2020-04-17 17:15:21 +08:00
4e44a74b16 executor: fix show default num and sequence (#16450) 2020-04-17 16:43:09 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
1f24b9e03b executor, infoschema, util: add sum_errors and sum_warnings to statement summary tables (#16456) 2020-04-17 10:31:35 +08:00
b44f5073e6 executor: support 'SHOW CONFIG' syntax to show configs of PD and TiKV instances (#16230) 2020-04-16 17:51:07 +08:00
d901863643 executor: insert negative primary key into auto_random table won't trigger rebase (#15397) 2020-04-15 20:56:37 +08:00
3edfffa84b Util: Fix global tracker mutex contention (#16298) 2020-04-15 20:37:42 +08:00
0ec8d3300c ddl, executor: forbid truncate view (#16251) 2020-04-15 18:28:43 +08:00
72f4576742 executor, types: set correct collate in newValueExpr (#16323) 2020-04-15 17:38:59 +08:00
557d9d38b6 config: remove the config item 'enable-dynamic-config' (#16358) 2020-04-15 17:28:52 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
8cd377dd07 executor: Improve the performance of aggFuncBitXor by using… (#16091) 2020-04-15 15:03:11 +08:00
7d8baddf29 test: skip plan cache for prepared stmt's cache tests (#16378) 2020-04-15 13:48:17 +08:00
f8381c5310 infoschema: refine some metric table comment and name (#16295)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-04-15 11:40:22 +08:00
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
c1a31708b0 executor: fix wrong result for index merge read generate column (#16002) 2020-04-14 17:40:03 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
32149dcc23 ddl: fix a panic when creating key partition table (#16260)
mysql> create table t(a char(5), unique key(a(5))) partition by key() partitions 5;
ERROR 2013 (HY000): Lost connection to MySQL server during query
2020-04-13 16:53:03 +08:00
8891c9d34e infoschema: fix select * from inspection_summary would return null. (#16099) 2020-04-10 17:25:10 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
36d8171319 expression: fix panic of explain for connection when plan cache is enabled (#16206) 2020-04-10 15:48:17 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
2a2bf377ae executor/inspect: remove redundant code (#16254)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-04-09 21:11:51 +08:00
3b52c7f460 ddl, executor: refine error message for rollback DDL job (#16235) 2020-04-09 18:00:39 +08:00
49ee75a0a5 planner, executor: enable inline projection for merge join (#15463) 2020-04-09 15:58:32 +08:00
c635ac8cc4 infoschema: fix tidb version showed in cluster_info table and update the go.mod for new sysutil (#16003) 2020-04-09 13:43:09 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
0f302966a4 test:make TestLoadDataMissingColumn stable (#16130) 2020-04-08 22:48:39 +08:00
d8978cb53e config: support temporary storage usage limitation (#15700) 2020-04-08 22:14:09 +08:00
6a45a7d6ee mocktikv: avoid sorting multiple times with unstable order (#15898) 2020-04-08 16:08:17 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
475dc29d53 executor/inspect: Add a status_address of inspection_result table to indicate the status address. (#15589) 2020-04-08 12:20:03 +08:00
dda190a830 ddl: fix repeatedly recover table error (#16116) 2020-04-08 11:03:31 +08:00
96d96ceb73 executor: fix unexpected error in union stmt. (#16073) 2020-04-08 09:45:55 +08:00
38d9711560 planner: Add explain info for InspectionRuleTableExtractor (#16087) 2020-04-08 00:44:54 +08:00
c31e4be8de executor/inspect: add config check for storage.block-cache.capacity of TiKV config (#15985) 2020-04-07 22:26:18 +08:00
e5bd867c50 executor: show create table ignores 'binary' collate table option (#15842) 2020-04-07 19:24:59 +08:00
d750db3213 *: remove order support in sequenceInfo (#16105) 2020-04-07 17:47:35 +08:00
c48499ff36 planner, executor: set TblInfo correctly when fast analyze PK (#16005) 2020-04-04 15:29:54 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00