Commit Graph

1103 Commits

Author SHA1 Message Date
be60bcfbc3 executor: avoid double closing child in "NestedLoopJoinExec" && "HashSemiJoinExec" (#5329) 2017-12-06 23:22:52 +08:00
8dfa0b8849 plan, executor: add physical plan for max1row, dual and exists (#5324) 2017-12-06 17:18:08 +08:00
8ec4a41916 plan: make show no longer a logical/physical plan (#5321) 2017-12-06 16:31:32 +08:00
38f794d875 plan, executor: add physical proj and topn. (#5316) 2017-12-06 13:30:58 +08:00
714b68c568 *: improve performance of show variables (#5297) 2017-12-05 19:23:52 +08:00
6e851719b7 plan, executor: add physical operator for lock, limit and union all. (#5301) 2017-12-05 18:55:23 +08:00
60f14c6114 plan, executor: replace sort with logicalSort and physicalSort (#5298) 2017-12-05 18:43:43 +08:00
5155361045 executor: support Chunk for UnionExec (#5229) 2017-12-05 16:53:34 +08:00
a1b1bb45e8 executor: support Chunk for TopN. (#5260) 2017-12-04 22:00:05 +08:00
e9a52b530e plan, executor: add physical stream agg and remove aggType (#5274) 2017-12-04 14:33:57 +08:00
be29c68004 executor: support Chunk for MaxOneRowExec (#5281) 2017-12-04 13:56:01 +08:00
0604183023 executor: set priority for IndexLookupExecutor when reading table (#5288) 2017-12-03 23:46:52 +08:00
6c68e41f73 store/tikv: use go fail for some tests. (#5280)
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -08:00
c6e8f36835 *: avoid double Close() executor during test (#5285) 2017-12-01 18:13:50 +08:00
d675ce16ca plan: fix a bug about index join. (#5275) 2017-12-01 17:08:45 +08:00
01f77b0693 plan, executor: no longer treat dml as logical/physical plan. (#5230) 2017-11-30 18:46:28 +08:00
ba1979c2de executor: support Chunk for SelectionExec (#5211) 2017-11-30 16:30:28 +08:00
db270fc661 plan, executor: remvove hasAgg field. (#5265) 2017-11-30 11:13:14 +08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
cbceac701d *:fix the bug about auto-increment key after renaming a table from old DB to the another DB (#5248) 2017-11-29 15:31:16 +08:00
f49413ec86 executor: show warning for kill pid statement (#5210) 2017-11-29 13:07:37 +08:00
d8fa8ef362 *: fix lint warnings (#5259) 2017-11-29 12:57:38 +08:00
69c9e4efe4 *: limit chunk size to MaxChunkSize (#5252) 2017-11-28 21:05:30 +08:00
2e5405dc8f mock-tikv: fix table scan with point ranges (#5251) 2017-11-28 18:54:54 +08:00
5b736237fe executor: support Chunk in LimitExec (#5200) 2017-11-28 16:33:00 +08:00
6d5bb7c23e plan, executor: split selection to logical plan and physical plan. (#5235)
* plan, executor: split selection to logical plan and physical plan.
2017-11-27 22:01:45 -08:00
ae9d7f5dab *: set session variable MaxChunkSize to 2 for test (#5238) 2017-11-28 13:48:36 +08:00
4c904639cf *: add a session variable to control max chunk size (#5233) 2017-11-28 10:41:22 +08:00
f3d2a62200 executor: add test for rebuilding prepared statement plan. (#5220) 2017-11-28 01:12:07 +08:00
4f91997b56 executor: improve show full processlist tests (#5222) 2017-11-27 07:10:52 -06:00
20bd1b6842 executor: support chunk for Sort (#5221) 2017-11-27 20:39:26 +08:00
ee0d3f37a2 types, ranger: move Range to package ranger. (#5231) 2017-11-27 18:17:29 +08:00
e440ac32f4 executor: notify TiDB update privilege after alter/drop user (#5226) 2017-11-26 21:45:24 -06:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
a428e9d820 executor: support chunk for IndexLookupReader. (#5206) 2017-11-25 16:33:43 +08:00
af4e73c43a tidb: always rebuild plan for retry. (#5218)
Fixes a bug that results in index and record inconsistency.

We build UnionScan based on if transaction is dirty, but this is a runtime property, may change during retry.

To simplify the logic and avoid potential bug, always rebuild the plan for retrying statements.
2017-11-25 09:50:32 +08:00
ced6efc7f4 expression: support vectorized execution of expressions (#5184) 2017-11-22 23:41:36 +08:00
02f6bb27c7 *: remove goCtx from session struct (#5174)
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
0ff13ce876 executor: simplify logic (#5185)
* : simplify
2017-11-22 00:55:56 -06:00
aba165718c ddl: limit the length of the index name (#5161) 2017-11-22 14:08:57 +08:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
55b8f9f1ee executor, expression: support Chunk in ProjectionExec (#5178) 2017-11-22 13:34:03 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
16003f0d82 executor: fix missing index update when automatic updating for timestamp 5172 (#5176) 2017-11-21 19:04:54 +08:00
cd914b6611 plan, executor: remove NeedHandle field (#5144) 2017-11-21 15:20:24 +08:00
dd2812fa55 mysql, expression: support sql_mode 'PAD_CHAR_TO_FULL_LENGTH' (#5065) 2017-11-21 13:22:29 +08:00
a32b8dbcf6 *: use Chunk for TableReader. (#5142) 2017-11-21 10:08:50 +08:00
726c3a0fa9 executor: tiny refine for join (#5099) 2017-11-20 23:05:57 +08:00
b9ca00ad5f plan, executor: deep clone TopN when push it down through Join (#5158) 2017-11-20 17:24:12 +08:00
c459da6887 *: refactor executor.checkHandleExists to tables.CheckHandleExists to reuse code (#5157) 2017-11-20 16:50:22 +08:00