mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug:mysql解析引擎对while...end while后丢失";", 导致执行时报错
This commit is contained in:
@@ -8870,7 +8870,9 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
accept(Token.WHILE);
|
||||
|
||||
accept(Token.SEMI);
|
||||
|
||||
|
||||
stmt.setAfterSemi(true);
|
||||
|
||||
return stmt;
|
||||
|
||||
}
|
||||
@@ -8900,7 +8902,9 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
acceptIdentifier(label);
|
||||
|
||||
accept(Token.SEMI);
|
||||
|
||||
|
||||
stmt.setAfterSemi(true);
|
||||
|
||||
return stmt;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user