Commit Graph

69 Commits

Author SHA1 Message Date
ee5353e933 rset: update FromIdentVisitor exported. 2015-10-20 16:35:34 +08:00
4aeaeada1d *: clean up 2015-10-20 12:19:06 +08:00
83086b57a7 *: Address comment. 2015-10-19 14:11:41 +08:00
fb3a51d834 *: checkIdent -> checkIdentAmbiguous 2015-10-19 12:51:53 +08:00
129f69292b *: fix having aggregate bug 2015-10-19 11:42:59 +08:00
a70ff17b1a rsets: Address comment. 2015-10-19 09:34:17 +08:00
7976510b79 *: CheckReferAmbiguous -> GetIndex and update 2015-10-18 16:09:08 +08:00
ce3d56b47c *: add test and update comment. 2015-10-18 08:58:20 +08:00
c464ae765a *: on support ident refer 2015-10-18 08:55:31 +08:00
655ed973be *: update having and add test 2015-10-17 22:58:07 +08:00
a260bbb6c8 *: add more clause type 2015-10-17 22:57:51 +08:00
9e091caef6 *: support ident refer in having. 2015-10-17 18:28:46 +08:00
4fa9744359 Merge pull request #404 from pingcap/qiuyesuifeng/refactor-on-where-ident
Refactor where field eval by using fromIdentVisitor.
2015-10-17 15:02:20 +08:00
9e73c8d4a8 *: use Ident refer for order by. 2015-10-17 14:20:19 +08:00
2a76b6cecd rsets: update function name. 2015-10-17 11:51:56 +08:00
51e040c537 *: use visitor to update where field eval. 2015-10-17 11:50:09 +08:00
8a3dc764d5 rsets: update function name. 2015-10-17 11:46:56 +08:00
ef5c0141d8 *: merge master and fix conflict. 2015-10-17 11:31:05 +08:00
16c11ea4d0 rsets: fix select fields ident reference. 2015-10-17 10:47:37 +08:00
7ba661531c rsets: update helper function. 2015-10-17 10:11:07 +08:00
6344a412ca rsets: add castPosition helper function and update 2015-10-17 09:32:44 +08:00
0d98d1b3e0 rsets: use visitor to fix Ident reference and check. 2015-10-17 00:09:54 +08:00
a686daf0b4 Merge pull request #402 from pingcap/siddontang/check-ambiguous
update ambiguous check
2015-10-16 19:28:00 +08:00
24a6420800 rsets: add comment. 2015-10-16 17:02:35 +08:00
7c17ad0e52 *: cleanup. 2015-10-16 13:33:59 +08:00
b3ffb6e461 *: update order by ambiguous check 2015-10-16 13:02:07 +08:00
4957d281b5 *: update group by ambiguous check 2015-10-16 11:29:54 +08:00
08e0491b5a *: having adds SelectList field. 2015-10-16 10:13:21 +08:00
6350100d61 rsets: should check where condition even using index plan. 2015-10-15 09:49:55 +08:00
d594fd83d4 Merge pull request #354 from pingcap/siddontang/update-field-name
update field name
2015-10-12 21:49:22 +08:00
547fce5aa8 rsets: can't have identifier in from dual.
Fix #238
2015-10-11 20:27:47 +08:00
df66eaba45 *: refactor field as name 2015-10-10 10:46:29 +08:00
d12525e17c *: remove full join 2015-10-09 13:54:59 +08:00
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