mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Add indent
This commit is contained in:
@@ -324,13 +324,15 @@ public class H2OutputVisitor extends SQLASTOutputVisitor implements H2ASTVisitor
|
||||
}
|
||||
|
||||
printTableSourceExpr(x.getName());
|
||||
print(' ');
|
||||
this.indentCount++;
|
||||
println();
|
||||
|
||||
SQLAlterTableItem item = x.getItems().get(i);
|
||||
accept(item);
|
||||
if (i != x.getItems().size() - 1) {
|
||||
print(';');
|
||||
}
|
||||
this.indentCount--;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user