Commit Graph

2731 Commits

Author SHA1 Message Date
cfd875219e planner: invalidate cached plan if no UnionScan for tables that need it (#15429) 2020-04-01 16:05:36 +08:00
c74bd8f632 ddl: added (ddl.DDL).Create{Table,Schema}WithInfo (#15806) 2020-04-01 14:59:40 +08:00
1a5cdb595a Executor: add disk tracker for Sort Executor (#15903) 2020-04-01 12:55:41 +08:00
4b5f8bf389 executor, infoschema: Migrate dataForTiKVStoreStatus from package infoschema to executor (#15591) 2020-04-01 12:08:17 +08:00
5137cbc2b1 executor: do not log slow query for pessimistic write conflict retry (#15890) 2020-03-31 22:42:41 +08:00
a1d627a24e expression: fix incorrect result of logical operators for vectorized expression evaluation (#15891) 2020-03-31 17:41:41 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
5192c26150 executor: optimize count distinct with single column (#15323) 2020-03-31 15:04:12 +08:00
94fb1bf18d txn: stop more statement executions if pessimistic transaction ttl manager timed out (#15877) 2020-03-31 11:53:41 +08:00
17530c4059 expression: Support collate for user session variable (#15449) 2020-03-31 11:29:07 +08:00
cad52c1f6e *: do not lock the non-exists keys in RC isolation (#15803) 2020-03-31 11:11:12 +08:00
6eda698caa ucp: migrate dataForTiKVRegionStatus from package infoschema to executor (#15552) 2020-03-30 22:46:12 +08:00
cc72a37d05 bindinfo: admin evolve baseline should not check the evolving time window (#15830) 2020-03-30 22:02:11 +08:00
1142e659a8 privilege: fix user with % hostname can not show grants. (#15825) 2020-03-30 18:10:19 +08:00
514b180928 executor: turn off dynamic config by default and add some removed variables back (#15833)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-03-30 16:07:47 +08:00
8417036804 executor: Add "ignore_plan_cache" hint (#15588) 2020-03-30 11:04:43 +08:00
bce2d39d17 executor: fix naming of a confusing variable (#15797) 2020-03-30 09:38:15 +08:00
12e1606b1c executor: fix failing to drop current database when new-collation is enabled (#15715) 2020-03-30 09:13:46 +08:00
78ac21914f server: add connection id for lock keys committer (#15685) 2020-03-27 18:21:14 +08:00
0d10f91539 executor: check for null values when comparing different groups during streamAgg (#15742) 2020-03-27 16:42:14 +08:00
b60991e29c *: support ADMIN RELOAD BINDINGS to refresh binding cache (#15732) 2020-03-27 12:21:14 +08:00
15c3b74ca9 util, executor: use UnionRanges build index kv range for INLJ (#15727) 2020-03-27 10:21:19 +08:00
01db67bbad chunk: make mysql.TypeNull be judged as fixedLen (#15512) 2020-03-26 19:25:38 +08:00
6dd8377a3c executor: check unequal handles when buildTableReader4INLJoin (#15675) 2020-03-26 18:28:09 +08:00
5cf0c3e2d4 bindinfo: clear all bindings when create bind for one normalized SQL (#15669) 2020-03-26 14:07:08 +08:00
a888c6d06a *: add the tid to the schema-change related tables only when keys need to be locked (#15698) 2020-03-26 11:17:38 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
f6d885b12c executor/inspect: ignore some config inconsistence check (#15666) 2020-03-25 16:13:08 +08:00
6905549bf6 *: support more system variables in statement summary (#15508) 2020-03-25 16:07:10 +08:00
9a301721c7 infoschema: Change type of ddl_job's time field (#15506) 2020-03-25 10:53:07 +08:00
764a69df44 executor: solve bug of merge join which does not consume all the inner tuples (#15473) 2020-03-24 23:05:01 +08:00
b8ea8fc42c privilege: fix show grants privilege check (#15524) 2020-03-23 21:06:13 +08:00
20b555cfad privilege: use internal session to run SET DEFAULT ROL ALL (#15525) 2020-03-23 18:44:17 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
842bd29121 executor: remove useless test TestSlidingWindowFunctionsSumDecimal (#15574) 2020-03-23 16:49:02 +08:00
aca6838500 executor/inspect: fix tikv threshold cpu check diagnose rule (#15538) 2020-03-23 16:13:20 +08:00
3f71bbfd3c executor: change some sys table's status_addr filed to instance. (#15578) 2020-03-23 15:55:01 +08:00
b1ccb30a75 *: fix updating the column value when the column is dropping and in WriteOnly state (#15539) 2020-03-23 14:47:01 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
d60567f765 privilege: fix select current_role() error (#15534) 2020-03-23 13:37:34 +08:00
bbac2b2fe4 executor: Improve the performance of aggFuncSum by using sliding window (#14887) 2020-03-23 13:29:44 +08:00
565ec5d047 planner: Add explain info for ClusterLogTableExtractor (#15542) 2020-03-23 12:30:24 +08:00
a498f0d7e9 executor, infoschema: Migrate dataForTableTiFlashReplica to the executor package. (#15078) 2020-03-23 09:50:31 +08:00
4e6151ee00 stmtsummary: cache digest in CachedPlanExec (#15464) 2020-03-21 17:48:01 +08:00
b05e01f45a executor/inspect: add sync-log config check and fix invalid time panic when memory table predicate (#15535) 2020-03-20 23:35:43 +08:00
edd281004c infoschema: migrate dataForProcesslist from package infoschema to executor (#15340) 2020-03-20 23:21:31 +08:00
fb9ee835a0 executor/inspect: remove redundant result of threshold check (#15523) 2020-03-20 19:36:15 +08:00
60ba54e040 config: add option 'allow-expression-index' for expression index (#15259) 2020-03-20 19:03:22 +08:00
b0ea766a49 executor: solve bug of copy joined tuples after inline projection (#15411) 2020-03-20 18:03:29 +08:00