mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved oracle parser.
This commit is contained in:
@@ -45,6 +45,10 @@ public abstract class SQLStatementImpl extends SQLObjectImpl implements SQLState
|
||||
return SQLUtils.toSQLString(this, dbType);
|
||||
}
|
||||
|
||||
public String toLowerCaseString() {
|
||||
return SQLUtils.toSQLString(this, dbType, SQLUtils.DEFAULT_LCASE_FORMAT_OPTION);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void accept0(SQLASTVisitor visitor) {
|
||||
throw new UnsupportedOperationException(this.getClass().getName());
|
||||
|
||||
@@ -996,6 +996,7 @@ public class SQLSelectParser extends SQLParser {
|
||||
if (lexer.token == Token.FETCH) {
|
||||
lexer.nextToken();
|
||||
if (lexer.token == Token.FIRST
|
||||
|| lexer.token == Token.NEXT
|
||||
|| lexer.identifierEquals(FnvHash.Constants.NEXT)) {
|
||||
lexer.nextToken();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user