mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sqlwall: 'hints' and 'start transaction'
This commit is contained in:
@@ -1148,6 +1148,14 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
|
||||
public boolean visit(SQLSetStatement x) {
|
||||
print("SET ");
|
||||
printAndAccept(x.getItems(), ", ");
|
||||
|
||||
List<SQLCommentHint> hints = x.getHints();
|
||||
if (hints != null && !hints.isEmpty()) {
|
||||
print(" ");
|
||||
for (SQLCommentHint hint : hints) {
|
||||
hint.accept(this);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user