mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sql parser.
This commit is contained in:
@@ -2615,6 +2615,12 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
if (printSet) {
|
||||
print0(ucase ? "SET " : "set ");
|
||||
}
|
||||
SQLSetStatement.Option option = x.getOption();
|
||||
if (option != null) {
|
||||
print(option.name());
|
||||
print(' ');
|
||||
}
|
||||
|
||||
printAndAccept(x.getItems(), ", ");
|
||||
|
||||
if (x.getHints() != null && x.getHints().size() > 0) {
|
||||
|
||||
Reference in New Issue
Block a user