bug fixed for sql parser

This commit is contained in:
wenshao
2012-12-19 21:50:44 +08:00
parent 3efb6243e5
commit 187ef8808f
3 changed files with 131 additions and 0 deletions
@@ -449,6 +449,10 @@ public class SQLExprParser extends SQLParser {
sqlExpr = allExpr;
break;
case LITERAL_ALIAS:
sqlExpr = new SQLIdentifierExpr('"' + lexer.stringVal() + '"');
lexer.nextToken();
break;
default:
throw new ParserException("ERROR. token : " + tok + " " + lexer.stringVal());
}