Commit Graph

10845 Commits

Author SHA1 Message Date
2ecf66bdf1 Update the version of parser (#16707) 2020-04-22 22:48:48 +08:00
79211fe63d plan: make query on partition table not cacheable (#16375) 2020-04-22 21:58:20 +08:00
b56733dde1 executor: fix DATA RACE caused by change the global logger whe… (#16722) 2020-04-22 21:47:51 +08:00
db762e1fb0 domain: rename binary_path to deploy_path (reopen #16585) (#16708) 2020-04-22 20:57:44 +08:00
30e9c20a47 config: fix check for memory-guard-ratio in prepared-plan-cache (#16416) 2020-04-22 20:45:56 +08:00
264e943e4d infoschema: add TiFlash to cluster_info table (#16684) 2020-04-22 17:48:33 +08:00
0974ef2605 test: stable global var test (#16610) 2020-04-22 17:30:31 +08:00
cde8541b6c config, store: enable coprocessor cache by default (#15499) 2020-04-22 16:49:09 +08:00
0f2dbcdca4 expression: constant propagation for outer join don't prop con… (#15855) 2020-04-22 15:32:42 +08:00
d49573e050 *: refine some logs with incorrect collation (#16275) 2020-04-22 15:23:48 +08:00
b6fcc15744 planner: enforce the required property when hint cannot satisf… (#15650) 2020-04-22 14:26:20 +08:00
a9091029b8 *: fix lost index bug of insert on duplicate key update (#16672)
Fix issue #16669

When check the untouched index, we should also check the memory-buffer in the session too.
2020-04-22 11:11:14 +08:00
8322e8a2e9 workflow: auto move issue to Task Assigned Column in project… (#16646) 2020-04-21 22:35:40 +08:00
692e0098b1 expression: avoid Order By constant expression error when pl… (#16261) 2020-04-21 20:04:23 +08:00
94011e6064 expression: fix the issue that incorrect result for query that uses an AND operator on floats (#15927) 2020-04-21 14:38:18 +08:00
0d5a83162b util: build right range when where stmt only have string column. (#16645) 2020-04-21 14:08:26 +08:00
b3917165b0 distsql: refine distsql duration metric, should report the total response time, not the single response time (#16507) 2020-04-21 11:58:07 +08:00
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
a1dc18da4b kv: add Handle interface (#16609) 2020-04-20 22:14:55 +08:00
e711b5e935 ddl: Return error when create table like other objects (#16605) 2020-04-20 21:20:25 +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
c601324597 planner: resolve order by item from select fields first when c… (#16332) 2020-04-20 19:38:24 +08:00
2a69052cf1 test: fix unit test and make test running serially. (#16525) 2020-04-20 17:44:26 +08:00
f033927481 sessionctx/variable,ddl: change @@tidb_enable_table_partition default value and update the semantic (#16497)
Before:
auto means enable for implemented feature and disable for others
on means always enable, no matter the feature is implemented or not

After:
auto and on both means enable for implemented feature and disable for others
2020-04-20 16:46:25 +08:00
4ded1e2a07 planner : change the define of 'last_plan_from_cache' (#16594) 2020-04-20 15:36:56 +08:00
ddcc89dc79 tikv: revert sending empty request when store idle (#16579) 2020-04-20 11:20:36 +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
31ff075d4f expression: fix wrong flen for case when function (#16352) 2020-04-17 23:04:03 +08:00
bdbdbaed7f expression: fix the issue that incorrect result for a predicat… (#16014) 2020-04-17 22:43:32 +08:00
2b03cf28dd util: fix wrong range when building from string column is true. (#16135) 2020-04-17 22:24:05 +08:00
7106b189df session: refine record execution duration metric (#16453) 2020-04-17 21:50:28 +08:00
69dd97d3f8 server: use single flight to load global variables (#16489) 2020-04-17 21:38:40 +08:00
dd57c0ad8b planner: ban rule_generate_column_substitute when column's… (#16316) 2020-04-17 19:43:30 +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
df6035fabf infoschema, util: modify copTask related fields in statement summary (#16503) 2020-04-17 17:52:11 +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
14a4a4e916 tikv: fix infinite retry when kv continuing to return staleCommand error (#16481) 2020-04-17 17:00:43 +08:00
4e44a74b16 executor: fix show default num and sequence (#16450) 2020-04-17 16:43:09 +08:00
d8e6cf8de6 planner/core: support partition pruning for partition expression floor(unix_timestamp()) (#16402) 2020-04-17 16:17:33 +08:00
10b11811a9 ddl: make TestTransactionOnAddDropColumn stable (#16511) 2020-04-17 15:20:54 +08:00
6350c7b5d1 domain: log when the loops in domain exited (#16459) 2020-04-17 14:58:01 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
9b2aa18be1 ddl: fix sequence default value will cause primary-key occur not-null error #16437 2020-04-17 12:02:34 +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
22664a706f ddl: create partition table fail with strconv.ParseInt invalid syntax (#16436) 2020-04-16 23:32:16 +08:00
e3b635e6c9 planner: cannot simply outer join if a predicate just refers to the outer table (#16444) 2020-04-16 22:27:16 +08:00