Commit Graph

113 Commits

Author SHA1 Message Date
953c66499a optimizer: fix a bug in optimizeJoinOrder
Fix a bug in optimizeJoinOrder.
2016-03-16 15:43:26 +08:00
8c217762c0 optimizer: fix a bug in newInnerJoinPath
Fix a bug in newInnerJoinPath.
2016-03-16 10:26:19 +08:00
ff94659286 *: replace interface{} with Datum in index range 2016-03-03 22:15:17 +08:00
c60122c8ea *: address comments 2016-02-24 20:39:08 +08:00
32c6ee2cbf executor: support Explain 2016-02-24 17:46:59 +08:00
77bedd0794 Merge pull request #914 from pingcap/zimuxia/show-ddl
*: Support show background DDL info
2016-02-22 11:40:01 +08:00
xia
79eb12187b *: rename GetDDLBgInfo to GetBgDDLInfo 2016-02-22 11:27:19 +08:00
6188d96f33 optimizer/plan: fix Accept method for plans. 2016-02-19 19:40:22 +08:00
xia
5d92bac8a5 *: support show ddl background info 2016-02-19 18:12:46 +08:00
58e667fb5f executor: support Show statement. 2016-02-18 15:49:19 +08:00
4f2f242fdf executor: support DDL statements. 2016-02-17 16:36:26 +08:00
f57c558c10 Merge pull request #902 from pingcap/shenli/newplan-insert
Support InsertStmt in new plan
2016-02-16 19:12:32 +08:00
5461e6256b *: Support InsertStmt in new plan. 2016-02-16 17:50:33 +08:00
237c4f6be6 executor: support CreateUserStmt, SetPwdStmt. 2016-02-16 16:13:09 +08:00
0b14ae4c3e executor: support DO, BEGIN, COMMIT, ROLLBACK. 2016-02-16 11:30:18 +08:00
e0fac78a96 executor: support SetStmt and SetCharsetStmt. 2016-02-15 19:30:20 +08:00
3ba53a31b1 executor, optimizer: add simple plan and executor, implement UseStmt. 2016-02-15 17:32:00 +08:00
3b30b67518 optimizer, executor: support Union statement and Select Distinct. 2016-02-15 13:30:08 +08:00
ba6996e5ca Merge pull request #895 from pingcap/shenli/delete
*: Support delete in new plan
2016-02-15 11:49:58 +08:00
f164aa5f1e *: Support delete in new plan
Move DeleteStmt from old plan to new plan.
2016-02-15 11:41:52 +08:00
efb2d492d4 fix arm/386 build by explicitly using int64 for rangePoint assigning 2016-02-14 16:17:42 +01:00
7751cce4d4 Merge branch 'master' into coocood/new-update
Conflicts:
	optimizer/plan/plans.go
2016-02-05 17:54:18 +08:00
12c40d67c4 Merge pull request #890 from pingcap/shenli/from-subquery
*: Support subselect in from clasue in new plan.
2016-02-04 15:58:19 +08:00
18d9d35de0 *: Address comment 2016-02-04 15:54:43 +08:00
219b9371fc optimizer/plan: rename index to offset 2016-02-04 15:52:44 +08:00
51a3148866 executor: support 'UPDATE' statement.
A test case is Skipped, which will be fixed in following PR.
2016-02-04 14:21:54 +08:00
502e810489 *: Support subselect in from clasue in new plan. 2016-02-04 00:11:10 +08:00
fbfda2d534 optimizer/plan: address comment. 2016-02-02 14:52:12 +08:00
2074bb3aa8 optimizer: use multi-column index
fixes https://github.com/pingcap/tidb/issues/859
2016-02-02 14:20:51 +08:00
a4503d3514 *: Address comment 2016-02-02 10:19:47 +08:00
0b60991c7c *: Address comment 2016-02-01 17:40:52 +08:00
16bbb37382 Merge remote-tracking branch 'origin/master' into shenli/dev-subquery
Conflicts:
	optimizer/plan/planbuilder_join.go
2016-02-01 14:41:35 +08:00
f7aab91490 Merge remote-tracking branch 'origin/master' into shenli/dev-subquery
Conflicts:
	optimizer/optimizer.go
	optimizer/plan/planbuilder.go
	optimizer/resolver.go
2016-02-01 14:32:49 +08:00
83cc6c39c8 optimizer/plan: address comment 2016-02-01 14:26:38 +08:00
7dc4196837 *: Support subquery in new plan 2016-02-01 08:47:23 +08:00
8ffeb35e97 optimizer/plan: address comment. 2016-01-29 22:58:05 +08:00
00771a5320 optimizer/plan: fix a bug
on condition should not attach to outer path.
2016-01-29 14:21:17 +08:00
eba680354a optimizer/plan: improve next index path algorithm. 2016-01-29 13:36:59 +08:00
0548555287 optimizer/plan: improve next index path algorithm. 2016-01-29 13:36:22 +08:00
17f18c0e0d optimizer/plan: rename Equiv to EqualCond 2016-01-29 12:08:44 +08:00
97d75dbd22 optimizer: add more test case 2016-01-29 11:57:31 +08:00
7e3bbc9526 optimizer: optimise inner join order. 2016-01-29 11:57:31 +08:00
f2d59ae08a optimizer/plan:address comment 2016-01-29 10:03:15 +08:00
0b04a20174 optimizer, executor: address comment. 2016-01-28 20:19:09 +08:00
8acdba3223 optimizer: address comment, fix null reject algorithm. 2016-01-27 17:35:44 +08:00
c29c2e2cbc optimizer: do extract equivs. 2016-01-26 18:06:14 +08:00
0c27e7f3f9 optimiser: fix resolver 2016-01-26 15:44:24 +08:00
b61dbb569d Merge branch 'master' into coocood/join
Conflicts:
	optimizer/optimizer.go
2016-01-26 14:30:36 +08:00
e1122c2cf0 optimizer/plan: implements join 2016-01-26 13:22:31 +08:00
2acd27de99 Merge remote-tracking branch 'origin/master' into shenli/dev-having 2016-01-21 10:54:27 +08:00