improved oracle sql parser.

This commit is contained in:
wenshao
2017-05-11 01:29:16 +08:00
parent 38458f9fff
commit 8cee3091cc
5 changed files with 27 additions and 4 deletions
@@ -80,6 +80,10 @@ public class SQLStatementParser extends SQLParser {
}
public void parseStatementList(List<SQLStatement> statementList, int max) {
parseStatementList(statementList, max, null);
}
public void parseStatementList(List<SQLStatement> statementList, int max, SQLStatement parent) {
for (;;) {
if (max != -1) {
if (statementList.size() >= max) {