Commit Graph

2212 Commits

Author SHA1 Message Date
928582c720 executor,ast: check password format for 'create user identified by password XXX' (#5948)
'create user xxx identified by yyy', yyy can be any text
'create user xxx identified by password yyy', yyy must be a hash string generated by
password(), it begin with * and has length 41
2018-03-05 21:30:54 -06:00
5461718c65 executor,distsql: set streaming flag for coprocessor request based on executor's type (#5916)
Decide whether a executor support streaming, TableScan/IndexScan/Selection support it.
If a coprocessor request need some operations like aggregation or topn, it's meanless
to use streaming for the request.
2018-03-05 21:21:28 -06:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
dc2bbc8c4f expression: correct the behavior of bit aggregate function. (#5954) 2018-03-05 21:44:01 +08:00
a2760d6b26 parser: correct mistake on mapping between tinyint and boolean. (#5944)
* parser: correct mistake on mapping between tinyint and boolean.
2018-03-05 15:52:31 +08:00
3b1884e473 *: support check an index (#5932)
* *: check index
2018-03-05 12:30:31 +08:00
04b504ee19 executor: remove supportChunk from interface Executor (#5942) 2018-03-05 10:45:59 +08:00
f446ce9d4f parser for foreign key (#5937) 2018-03-03 10:11:10 +08:00
428e187d49 cover next in merge join (#5926) 2018-03-01 10:10:07 +08:00
fb69fa9a91 executor: add recover mechanism for index lookup reader workers (#5913) 2018-02-28 13:46:48 +08:00
62995e080b executor: add recover mechanism for index join workers (#5902) 2018-02-27 11:44:29 +08:00
15cf32d4dc executor: some move some function position about index lookup reader (#5910) 2018-02-26 23:05:52 +08:00
45f333b33f executor:improve test coverage (#5836) 2018-02-26 16:41:54 +08:00
4844e4636e executor: add recover mechanism for union workers (#5900) 2018-02-26 12:55:23 +08:00
27c65d25bb executor, distsql: move "requestBuilder" from package "executor" to "distsql" (#5903) 2018-02-26 12:46:51 +08:00
40129dfbf4 executor:add more comments for baseExecutor (#5825) 2018-02-24 22:03:53 +08:00
07f1bac316 executor: add recover mechanism for join workers (#5894) 2018-02-24 19:12:17 +08:00
8268d4d8b4 *: move irrelevant code out of package "distsql" (#5893) 2018-02-24 18:52:09 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
6e33a6a081 distsql, executor: rename "SelectDAG" to "Select" (#5887) 2018-02-22 10:57:40 +08:00
fcbb4c53a2 parser: parse "select 1 order by 1" statement (#5881)
* parser: parse "select 1 order by 1" statement
2018-02-14 16:08:55 +08:00
bafe5697d6 executor: pass goCtx when initialize UnionExec (#5870) 2018-02-11 22:16:34 +08:00
1850796dab ddl: check table charset option (#5835) 2018-02-09 17:35:01 +08:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
08720d01f9 executor: add more comments (#5728) 2018-02-08 19:55:59 -06:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
633d1b81ac ddl, executor: fix show index print none public index when add index ddl operation is not finished. (#5833) 2018-02-08 22:53:24 +08:00
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
1af95b876f executor/builder: check builder error when build child plan of hash join (#5822)
nil child exec will cause panic.
2018-02-08 18:45:38 +08:00
eaef520634 types,executor: treat decimal truncate as warning in update (#5801) 2018-02-08 15:55:52 +08:00
5d91dbd5a1 executor: pass operator label from Plan to Executor (#5821) 2018-02-08 13:33:11 +08:00
69881b55ff executor: make sure "plan.GlobalPlanCache" is initialized before "plan.PlanCacheEnabled" set to true (#5806) 2018-02-07 16:20:16 +08:00
ae8e5941ea *: clean up abandoned storage engine (#5808) 2018-02-07 00:19:32 -06:00
274a344ad1 server: fix sub query error in prepare statement (#5761) 2018-02-06 06:49:38 -06:00
64af2c2553 executor: refine merge join (#5799) 2018-02-06 15:45:49 +08:00
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +08:00
23bff274a0 distsql, metrics: refine distsql metrics. (#5774)
Refine distsql metrics && Add scan keys metrics.
2018-02-02 21:53:22 +08:00
2a2e8c4775 executor: join don't need any inner filter. (#5767) 2018-02-01 19:48:18 +08:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
775dcf4503 stats: support 'load stats' command (#5724) 2018-01-31 17:25:27 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
fdd0e6d78b stats, executor: fix drop stats not working (#5739) 2018-01-30 11:19:04 +08:00
b3a514947d executor: set correct collate in show create table (#5744) 2018-01-29 22:16:31 +08:00
93a042bc95 plan, executor: make explain more clear. (#5742) 2018-01-29 19:12:45 +08:00
96bd4e1162 executor: refine plan.EvalSubquery to support NextChunk (#5717) 2018-01-26 19:07:18 +08:00
e09aa114b1 executor: fix MaxOneRow.NextChunk (#5716) 2018-01-26 11:37:48 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00