Commit Graph

40 Commits

Author SHA1 Message Date
a89fa8a8d3 *: refact insert logic (#2252) 2016-12-20 17:38:23 +08:00
507201bd12 plan, expression: add test and remove useless code (#2271)
* plan: add test for logical_plan_builder

* plan: add test in logical_plan_test

* plan: add test and remove useless code

* plan, expression: move test from plan to expression

Move test for constantFolding and constantPropagation from
plan to expression

* plan: remove useless test

* expression: add test

* expression: address comment
2016-12-19 14:04:00 +08:00
35edefb757 *: rewrite the logic of set. (#2223) 2016-12-12 17:54:16 +08:00
9ec16203f0 *: rewrite the logic of execute. (#2217) 2016-12-10 02:13:01 +08:00
e149b0ce87 *: rewrite the logic of do statement. (#2215) 2016-12-09 20:18:12 +08:00
f42d3b2bcc *: Support the statement of "alter user" (#2144) 2016-12-03 14:01:38 +08:00
0b828d46f8 *: add context in baseplan, extract constant folder. (#2135) 2016-12-01 00:17:55 +08:00
36f0f307a8 parser: support show events (#2099)
* parser: support show events
2016-11-27 22:49:49 +08:00
2a3426ca9d *: make explain result more clearly. (#2063) 2016-11-23 18:58:12 +08:00
fdb74960a4 add a new expression type: Correlated Column. (#1973) 2016-11-17 12:42:12 +08:00
421ceeb8fa *: make golint happy. 2016-11-15 11:12:24 +08:00
cbf024e8f7 *: clean code. (#1987) 2016-11-10 15:38:22 +08:00
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
f96d743e51 plan: only use public index. (#1935)
* plan: only use public index, add case for ignore.
2016-11-03 15:46:00 +08:00
d3279072b7 *: support explain aggregation query. (#1901) 2016-10-31 15:33:59 +08:00
ba4d6bae37 *: support drop user. (#1854) 2016-10-24 21:01:02 +08:00
471731b04e plan: consider limit during building physcial plan. (#1760)
Consider limit in CBO framework.
2016-09-26 21:53:17 +08:00
b8994bb139 *: Support stream aggregation. (#1735)
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
fe3555e77d *: FLUSH TABLE statement front end (#1701) 2016-09-08 13:27:09 +08:00
ed4649e85d *: Support load data local (#1634) 2016-08-30 09:38:37 +08:00
f2d8b3c108 remove New*** from variable name. (#1644) 2016-08-29 10:18:45 +08:00
e33587ed47 support explain (#1632) 2016-08-26 11:19:23 +08:00
c90d91cba9 *: Support insert ignore (#1579)
Ignore duplicate key errors for insert ignore stmt, Fix #1570
2016-08-22 14:18:56 +08:00
e4ac5301ce remove useless code. (#1609) 2016-08-20 16:00:20 +08:00
6e878144e5 support UPDATE and DELETE in new plan (#1582) 2016-08-19 14:35:39 +08:00
9a5809943d *: fix show procedure status resolving error. (#1507) 2016-07-27 15:02:44 +08:00
1e6e1ca6f0 *: Support binlog stmt (#1479)
Parse and ingore it.
2016-07-21 13:39:15 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
cbac6da6ee *: Remove SetCharsetStmt, use SetStmt instead (#1422)
"set @@session.sql_mode=1, names utf8, charset utf8;" is a valid sql statement.
2016-07-11 16:22:33 +08:00
6ab4cc5877 fix a lot of bugs about agg and having. (#1395) 2016-07-06 15:49:53 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
107ad9662c implement logical plan. (#1366) 2016-07-01 15:13:27 +08:00
a75f677900 support set variable, prepare and insert stmt. (#1359) 2016-06-29 18:26:47 +08:00
af7f2a2e89 correct "order by", "having", "group by"s' resolving rules. (#1326)
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
67378982bf parser: add ANALYSE TABLE syntax (#1323) 2016-06-15 16:21:39 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
5b2794904b *: Support xapi first row aggregate function in local store. (#1317) 2016-06-14 13:01:25 +08:00
c6637049ab plan: alloc plan ID in builder (#1301)
Avoid race condition.
2016-06-08 11:29:08 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00