Commit Graph

145 Commits

Author SHA1 Message Date
043ebd5ec8 *: Refactor package organization
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
e71e25e31c util/types: new Compare implementation with Datum. 2016-03-02 10:22:21 +08:00
xia
404e1348bd Merge branch 'master' into zimuxia/move-test 2016-03-02 09:56:18 +08:00
xia
539d2e5de2 *: move statement tests to executor package 2016-03-01 20:23:40 +08:00
09fdc21529 *: Remove field package
It is useless when we remove field.ResultField
2016-03-01 16:32:16 +08:00
9f81af66ee Merge remote-tracking branch 'origin/master' into shenli/rm-rset-stmt-plan 2016-03-01 14:00:29 +08:00
b5fbabc05e *: Remove plan.go/stmt.go/rset.go
Move interface into ast and remove interfaces.
2016-03-01 13:53:48 +08:00
d9f98132ee ast: introduce 'Datum'
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
46e4201a13 Merge pull request #930 from pingcap/zimuxia/update-admin-test
executor: Update admin show ddl test
2016-02-29 15:54:26 +08:00
xia
8ef8069df8 executor: update admin show ddl test 2016-02-29 15:36:27 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
64912c8597 *: Implement perfschema with MemoryTable 2016-02-29 10:28:30 +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
060833e906 Merge pull request #912 from pingcap/coocood/table-seek
*: add `Table.Seek` method and use handle for RowKeyEntry.
2016-02-21 21:59:40 +08:00
9df628be49 executor: check error first then check found. 2016-02-20 12:28:09 +08:00
xia
5d92bac8a5 *: support show ddl background info 2016-02-19 18:12:46 +08:00
314fea7954 *:fix build after Table interface change. 2016-02-19 17:27:49 +08:00
37585a0022 Merge pull request #909 from pingcap/coocood/show
executor: support Show statement.
2016-02-19 17:17:06 +08:00
2c66123d72 executor: use struct{} for map value. 2016-02-19 16:24:43 +08:00
b47cf737c8 *: add Table.Seek method and use handle for RowKeyEntry.
Avoid calling `table/tables` methods in `executor`, makes `Table` interface independent.
2016-02-19 14:31:04 +08:00
ec475aae5f *: simplify 'table.Table` interface.
Makes it easier to implement a in-memory table.
2016-02-18 20:58:53 +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
0ff85e73ac Merge pull request #905 from pingcap/shenli/grant
*: Support grant stmt in new plan.
2016-02-17 15:27:56 +08:00
138a40eca7 *: Support grant stmt in new plan. 2016-02-17 14:51:07 +08:00
f0326086aa parser/coldef: remove dependency on expression. 2016-02-17 14:12:08 +08:00
a60199f5cd *: Support replace stmt in new plan 2016-02-17 10:43:21 +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
db2328b821 executor: split test file. 2016-02-15 19:45:24 +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
a29743ac9e executor: replace memkv.Temp with *distinct.Checker in DistinctExec 2016-02-15 13:56:10 +08:00
3b30b67518 optimizer, executor: support Union statement and Select Distinct. 2016-02-15 13:30:08 +08:00
f164aa5f1e *: Support delete in new plan
Move DeleteStmt from old plan to new plan.
2016-02-15 11:41:52 +08: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
178c8d5b43 executor: address comment. 2016-02-04 15:44:39 +08:00
b3d70cc8d7 *: Fix bug in AggregateExec.Close()
Pass sqllogic test select
2016-02-04 14:41:31 +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
43a6bf20d5 Merge pull request #884 from pingcap/shenli/dev-subquery
Support subquery in new plan framework
2016-02-02 10:39:27 +08:00
a4503d3514 *: Address comment 2016-02-02 10:19:47 +08:00
0b60991c7c *: Address comment 2016-02-01 17:40:52 +08:00
cb57f7a4a2 executor: Close executor in join 2016-02-01 15:28:32 +08:00