Commit Graph

36 Commits

Author SHA1 Message Date
4b5f87c98a *: rename EmptyFieldList to more sense FromDual name
Dual is a dummy table, `select 1, 2` is equivalent to `select 1, 2 from
dual`, and dual is widely known.
2015-09-24 08:02:43 +08:00
e91233533e expression: fix import 2015-09-21 18:55:17 +08:00
ded22954d7 expression: remove return error in Clone interface
Our expression implementations do not actually return any error, and `Clone` should not return error in any case.
Remove error make the code cleaner.
2015-09-21 11:11:50 +08:00
732ebf6b48 rset: remove redundant rset layer.
Clean up.
2015-09-20 00:15:05 +08:00
00bf40f760 Merge pull request #182 from pingcap/siddontang/correlated-subquery
refactor subquery to support correlated subquery
2015-09-19 10:00:21 +08:00
d9a8c7e4f2 *: use RowStack to rector and simplify outer query 2015-09-18 14:52:05 +08:00
ae54282940 *: rename files outer_query -> row_stack 2015-09-18 10:50:25 +08:00
19c33077ce rsets: Address comment 2015-09-17 17:35:36 +08:00
31367206fa rsets: Address comment 2015-09-17 13:08:57 +08:00
14438e0bbd rsets: Address comment 2015-09-17 12:57:45 +08:00
1966391a92 *: fix duplicated table name when join 2015-09-17 12:07:38 +08:00
6fb768fbcb *: refactor OuterQuery 2015-09-16 22:13:12 +08:00
6ec054f446 stmts: Address comments and modify a unit test case 2015-09-16 17:53:12 +08:00
279c160fc0 plans,stmts: use a single OuterQuery in one select flow. 2015-09-16 15:21:41 +08:00
70cfab15d7 stmts: Fix bug in update single-table syntax but with multiple tables
Fix bug found in beego/orm
2015-09-16 14:58:03 +08:00
bee6991a78 *: support outer query for correlated sub query. 2015-09-16 12:05:42 +08:00
de396d8a56 rset: fix method comments. 2015-09-15 18:37:56 +08:00
d34906eb5b rset: address comments. 2015-09-15 18:37:55 +08:00
54d04df744 driver: add Next method for Recordset and use it in driver
So we can implement `driver.Rows.Next` without a goroutine.
2015-09-15 18:37:55 +08:00
8fe148a781 plan: fix infoschema 2015-09-15 13:45:22 +08:00
9f3535da0a plan: cleanup, remove NextPlan interface. 2015-09-14 20:38:37 +08:00
4ec288cb57 plans: Implement next for simple table selection. 2015-09-12 18:05:25 +08:00
7c76ab506a plan: call Next if plan Implemented Next. 2015-09-12 14:55:02 +08:00
b107da119b plan: add Close method 2015-09-12 13:38:43 +08:00
07c3f878a5 plan: Next return Row type
address comment
2015-09-12 13:38:43 +08:00
8a8060abb1 plan: Next skeleton
Just added the method, not implemented yet.

`Do` will be kept until all plans implemented `Next`
2015-09-12 13:38:43 +08:00
b13d935670 Merge pull request #114 from pingcap/shenli/show-variables
Shenli/show variables
2015-09-11 17:37:20 +08:00
e37c62b88d *: check column in select uniformly 2015-09-11 13:15:01 +08:00
20cf24f535 *: Implement show variables stmt/rset/plan
TODO: add test cases
2015-09-10 20:24:09 +08:00
285b8c0739 rset: fix make check 2015-09-10 13:58:55 +08:00
a15f22731b rsets: check row is not in group by, order by and having 2015-09-10 13:53:09 +08:00
1e4cdb813f *: update QL-LICENSE and STRUTIL-LICENSE. 2015-09-08 19:25:50 +08:00
695003b466 util, plan, plan/plans, rset, rsets: fix-copyright-infringement. 2015-09-07 08:48:50 -04:00
xia
0670dd0e34 *: pass gofmt
pass gofmt
2015-09-07 11:28:10 +08:00
xia
f49398dc42 *: pass go vet
pass go vet
2015-09-06 20:20:21 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00