mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor & bug fixed.
This commit is contained in:
+7
-1
@@ -1436,7 +1436,13 @@ public class OracleStatementParser extends SQLStatementParser {
|
||||
|
||||
accept(Token.END);
|
||||
|
||||
if (lexer.token() != Token.SEMI) {
|
||||
Token token = lexer.token();
|
||||
|
||||
if (token == Token.EOF) {
|
||||
return block;
|
||||
}
|
||||
|
||||
if (token != Token.SEMI) {
|
||||
String endLabel = lexer.stringVal();
|
||||
accept(Token.IDENTIFIER);
|
||||
block.setEndLabel(endLabel);
|
||||
|
||||
Reference in New Issue
Block a user