mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sql parser
This commit is contained in:
@@ -1043,6 +1043,11 @@ public class SQLExprParser extends SQLParser {
|
||||
SQLOrderBy orderBy = new SQLOrderBy();
|
||||
|
||||
lexer.nextToken();
|
||||
|
||||
if (identifierEquals("SIBLINGS")) {
|
||||
lexer.nextToken();
|
||||
orderBy.setSibings(true);
|
||||
}
|
||||
|
||||
accept(Token.BY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user