mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve SQL Visitor
This commit is contained in:
@@ -306,6 +306,10 @@ public class SQLSelectParser extends SQLParser {
|
||||
} else if (identifierEquals("STRAIGHT_JOIN")) {
|
||||
lexer.nextToken();
|
||||
joinType = SQLJoinTableSource.JoinType.STRAIGHT_JOIN;
|
||||
} else if (identifierEquals("CROSS")) {
|
||||
lexer.nextToken();
|
||||
accept(Token.JOIN);
|
||||
joinType = SQLJoinTableSource.JoinType.CROSS_JOIN;
|
||||
}
|
||||
|
||||
if (joinType != null) {
|
||||
|
||||
Reference in New Issue
Block a user