mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #2580 from francisoliverlee/master
issue:#2578,修改comment关键字解析错误
This commit is contained in:
@@ -278,6 +278,9 @@ public class SQLStatementParser extends SQLParser {
|
||||
continue;
|
||||
}
|
||||
case COMMENT: {
|
||||
if(JdbcConstants.MYSQL.equals(this.dbType)){//mysql 关键字 comment 没有这个语法,oracle才有
|
||||
return;
|
||||
}
|
||||
SQLStatement stmt = parseComment();
|
||||
stmt.setParent(parent);
|
||||
statementList.add(stmt);
|
||||
|
||||
Reference in New Issue
Block a user