subquery factoring

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@981 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-10-15 10:09:13 +00:00
parent f4f61768c3
commit 10ad8df014
2 changed files with 60 additions and 1 deletions
@@ -137,7 +137,7 @@ public class OracleSelectParser extends SQLSelectParser {
createExprParser().exprList(cycleClause.getAliases());
accept(Token.SET);
cycleClause.setMark(createExprParser().expr());
acceptIdentifier("TO");
accept(Token.TO);
cycleClause.setValue(createExprParser().expr());
accept(Token.DEFAULT);
cycleClause.setDefaultValue(createExprParser().expr());