Commit 46644548 authored by tuohai666's avatar tuohai666
Browse files

#2195, identify call statement

parent dc02d364
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ public final class SQLJudgeEngine {
            } else {
                lexerEngine.nextToken();
            }
            if (sql.toUpperCase().startsWith("CALL")) {
                return getDQLStatement();
            }
            if (tokenType instanceof Assist && Assist.END == tokenType) {
                throw new SQLParsingException("Unsupported SQL statement: [%s]", sql);
            }