mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved oracle sql parser for pl/sql if.
This commit is contained in:
@@ -63,6 +63,8 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
|
||||
protected boolean shardingSupport = false;
|
||||
|
||||
protected transient int lines = 0;
|
||||
|
||||
public SQLASTOutputVisitor(Appendable appender){
|
||||
this.appender = appender;
|
||||
}
|
||||
@@ -283,6 +285,7 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
}
|
||||
|
||||
print0("\n");
|
||||
lines++;
|
||||
printIndent();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user