[#5955] Support trailing ; in Queries
This commit is contained in:
parent
ad2fd08314
commit
e41bc31713
@ -326,7 +326,9 @@ class ParserImpl implements Parser {
|
||||
ParserContext ctx = new ParserContext(dsl, sql);
|
||||
List<Query> result = new ArrayList<Query>();
|
||||
do {
|
||||
result.add(parseQuery(ctx));
|
||||
Query query = parseQuery(ctx);
|
||||
if (query != null)
|
||||
result.add(query);
|
||||
}
|
||||
while (parseIf(ctx, ";"));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user