Skip to content

Commit 2711900

Browse files
committed
improved StatementVistorAdaptor to process all statements.
1 parent aab569b commit 2711900

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/net/sf/jsqlparser/statement/StatementVisitorAdapter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ public void visit(Alter alter) {
9595

9696
@Override
9797
public void visit(Statements stmts) {
98-
98+
for (Statement statement : stmts.getStatements()) {
99+
statement.accept(this);
100+
}
99101
}
100102

101103
@Override

0 commit comments

Comments
 (0)