mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved update statement parser for mysql
This commit is contained in:
@@ -3257,6 +3257,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
}
|
||||
|
||||
public boolean visit(SQLCommentHint x) {
|
||||
if (x.hasBeforeComment()) {
|
||||
printlnComment(x.getBeforeCommentsDirect());
|
||||
print0(" ");
|
||||
}
|
||||
|
||||
print0("/*");
|
||||
print0(x.getText());
|
||||
print0("*/");
|
||||
|
||||
Reference in New Issue
Block a user