Commit Graph

1238 Commits

Author SHA1 Message Date
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
88b8740724 *: avoid the generation of mysql.TypeNewDate (#5705) 2018-01-23 21:41:02 +08:00
307e642565 store/tikv: remove WithCancel in copIterator. (#5701)
Since we already have `finished` channel to make the worker exit, we don't need to select
on `ctx.Done`, instead, we can only select `ctx.Done` in `Next`, and close the `finished` channel.

This avoid the cost to create context by `WithCancel` and select on extra channel.
2018-01-23 17:56:13 +08:00
225d69053e executor: avoid unnecessary log format in slow query log (#5696) 2018-01-23 11:28:21 +08:00
dffc8c974d executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable (#5700) 2018-01-22 23:15:17 +08:00
0b23ff48a6 *: execute statement meets error should make no side effect (#5678) 2018-01-22 13:49:29 +08:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +08:00
fc6376981d *: remove GetSessionVars() in expression evaluation (#5683) 2018-01-22 11:04:32 +08:00
a2a48b3085 executor: use batch get to speed up LOAD DATA (#5632)
* use batch get to speed up LOAD DATA
2018-01-19 15:58:00 +08:00
b020c7c564 executor: improve the sort efficiency on "lookupTableTask.rows" (#5675) 2018-01-18 20:32:13 +08:00
c5c0714cde executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold (#5658) 2018-01-18 11:14:25 +08:00
8f1f0af39d executor: close the children of HashJoinExec and UnionExec after close goroutine finish (#5669) 2018-01-17 23:09:25 +08:00
5bf8972460 aggregation: "group_concat" should not modify the argument during execution (#5664) 2018-01-17 22:01:36 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
6fb97e8f25 executor: correct the unsigned pk's behavior. (#5641) 2018-01-16 18:21:10 +08:00
0e61c85918 store/tikv: call Next() after copIterator closed lead to goroutine leak (#5624) (#5654) 2018-01-16 15:32:58 +08:00
9f2ff293dd *: make MVMap.Get() be able to reuse the value buffer pre-allocated (#5644) 2018-01-16 15:15:25 +08:00
9b1d26e795 executor: rename "new_index_lookup_join.go" to "index_lookup_join.go" (#5652) 2018-01-16 13:59:32 +08:00
d6d9419cb6 executor: remove old, never used "IndexLookUpJoin" (#5649) 2018-01-16 13:39:06 +08:00
4df3a04023 executor: fillDefaultValues store casted default values (#5586) 2018-01-15 20:24:50 +08:00
2550969cae aggregation, plan: split the presentation and evaluation layers of aggregation functions (#5635) 2018-01-15 15:48:03 +08:00
ca97bfffe0 tables: when importing data, table.AddRecord has no needs to use temp BufferStore. (#5617) 2018-01-15 15:13:23 +08:00
d568bf7f7c executor: refactor the way to compare rows in MergeJoinExec (#5640) 2018-01-15 12:41:07 +08:00
4d50ae22bc kvencode: enable prepare plan cache. (#5627) 2018-01-14 15:04:36 +08:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00