Commit Graph

2892 Commits

Author SHA1 Message Date
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
d53336bd4a planner: support sql_select_limit session / global variable (#17444) 2020-06-02 18:02:29 +08:00
39fe08ab58 store/mockstore: make unistore the default mockstore (#17558) 2020-06-01 18:45:15 +08:00
64f0d4d211 planner: fix wrong prepare plan after isolation read changed (#16293) 2020-06-01 18:02:48 +08:00
18a38c674e executor: fix the forever hang in index merge join when oom occurs (#17435) 2020-05-28 16:16:36 +08:00
b5bb0090e7 *: fix LIKE expressions with _ following % (#17418) 2020-05-28 15:05:10 +08:00
af7bbbe241 executor: fix failpoint race for analyze test (#17437)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-05-27 20:47:11 +08:00
7ca3d9cadc bindinfo, record how bindings are created in SQL bindings. (#17254) 2020-05-27 09:56:40 +08:00
e92f15d6ec planner: Add explain info for InspectionSummaryTableExtractor (#16216) 2020-05-27 02:22:40 +08:00
55d9d6ca1e sessionctx,infoschema,executor,util: Show disk usage of a query in slow query and statement summary (#17132) 2020-05-26 22:03:40 +08:00
a3d5082094 sessionctx, executor: add session var to control explicit insertion on auto_random column (#17102) 2020-05-26 20:32:10 +08:00
f72b5984dd executor: set the DDL query string instead of execute (#17407) 2020-05-26 15:48:13 +08:00
b923b9e5de util/admin: support admin cleanup index on the partition table (#17203) 2020-05-26 13:13:40 +08:00
72a789a247 planner, infoschema : add columns about plan cache in 'performance_schema.events_statements_summary_by_digest' (#16476) 2020-05-26 13:10:02 +08:00
2bdf6a01cc util/admin: support admin check index on partition table (#17183) 2020-05-25 21:25:33 +08:00
43965127c6 go.mod: update parser version to support delete partition (p0,p1) (#17381) 2020-05-25 13:32:22 +08:00
38298c2e3e planner: fix wrong index merge join plan for join key is not the prefix of index (#16894) 2020-05-22 17:40:10 +08:00
0d95b09e8a executor: Remove unnecessary information in explain analyze output (#16248) 2020-05-21 19:26:00 +08:00
b248783dfe planner: fix wrong agg function when agg push down union (#17022) 2020-05-20 21:50:15 +08:00
4078eb4ae5 util/admin: support admin recover index on the partition table (#17195) 2020-05-20 17:10:44 +08:00
313ed01f03 expression,executor: fix DIV() as partition expression behavior under ERROR_FOR_DIVISION_BY_ZERO sql_mode (#17302) 2020-05-20 17:05:14 +08:00
5274e48204 planner, executor: support insert/replace into partition (#17280) 2020-05-20 16:48:32 +08:00
3176b00c02 executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison (#17245) 2020-05-20 13:55:18 +08:00
c60ea27e6c *: fix partition selection for the update statement (#17285) 2020-05-20 13:05:44 +08:00
1982be5009 executor: support show table partition regions (#17229) 2020-05-19 19:44:23 +08:00
838de2ad26 executor: fix wrong behavior of set charset statement (#16984) 2020-05-19 18:09:44 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
f06fc35531 planner: return error when SPLIT PARTITION TABLE on non-partitioned table (#17218) 2020-05-18 15:41:45 +08:00
0de6925e12 ddl: Add some limit for auto_random (#17119) 2020-05-15 21:28:44 +08:00
f5706c9099 executor: fix slow_query bug when query with time equal condition (#17225) 2020-05-15 18:28:53 +08:00
bcbc25db68 executor: make the aggregation function distinct consider collations (#17182) 2020-05-15 15:59:15 +08:00
ea2e215ff8 *: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function (#17116) 2020-05-15 13:30:49 +08:00
1417ba2288 *: fix a bug that don't handle truncate properly for virtual generated column (#17217) 2020-05-14 20:57:55 +08:00
bb6ab156c7 executor: make test stable (#17206) 2020-05-14 20:14:27 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
bded6a2957 executor: refine split index region (#17070) 2020-05-13 22:31:00 +08:00
a1763c1b6e executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT (#17106) 2020-05-13 16:58:20 +08:00
3f2d35a60b RFC + executor: Support global memory tracker (#16777) 2020-05-13 15:49:53 +08:00
5a0787dfa9 executor: fix flashback table faild in uppercase database name (#17093) 2020-05-13 14:55:57 +08:00
22f0c7f6c1 executor: fix slow_query bug when query with time equal condition and in different time zone (#17082) 2020-05-13 14:34:01 +08:00
44a894de6d planner: check plan type when executing explain format="dot". (#17144) 2020-05-13 12:54:05 +08:00
526a711c67 session, tikv: allocate task IDs for distsql requests (#16520) 2020-05-13 11:47:05 +08:00
ddd8f37616 executor: fix invalid converting in TiDB that convert bool values 'true' to int numbers '1' in 'set config' (#17142) 2020-05-13 10:42:19 +08:00
e0ec3e3cab executor: return an error if the target instance is not found in 'set config' statements (#17137) 2020-05-12 20:21:36 +08:00
308f104535 executor: fix the wrong result when use index_merge on the partition (#17032) 2020-05-12 16:23:05 +08:00
cfec13772b sessionctx: record if a query hits plan cache in slow log (#17088) 2020-05-12 15:49:05 +08:00
cf6c210719 planner: add explain information for slow_query extractor (#17110) 2020-05-12 15:34:38 +08:00
52837168ea executor: make memory tracing in ProjectionExec more accurate (#17109) 2020-05-12 14:13:05 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
b367d121d9 executor: return an error when updating TiDB instances' config items by 'set config'(#17100) 2020-05-12 10:57:15 +08:00