db2 sql parser support sequence expr. fixed issue #1323

This commit is contained in:
高铁
2016-07-09 04:10:26 +08:00
parent 2ccd7cf22e
commit 552e090d11
7 changed files with 411 additions and 1 deletions
@@ -2010,4 +2010,12 @@ public class SQLExprParser extends SQLParser {
return values;
}
protected static boolean isIdent(SQLExpr expr, String name) {
if (expr instanceof SQLIdentifierExpr) {
SQLIdentifierExpr identExpr = (SQLIdentifierExpr) expr;
return identExpr.getName().equalsIgnoreCase(name);
}
return false;
}
}