[jOOQ/jOOQ#10528] Get Firebird procedural logic up to date
This commit is contained in:
parent
0383f3db5b
commit
5de7cfd6ee
@ -992,8 +992,8 @@ final class ParserContext {
|
||||
break;
|
||||
|
||||
case 'E':
|
||||
if (!parseResultQuery && peekKeyword("EXECUTE BLOCK AS BEGIN"))
|
||||
return parseBlock(false);
|
||||
if (!parseResultQuery && peekKeyword("EXECUTE BLOCK AS"))
|
||||
return parseBlock(true);
|
||||
else if (!parseResultQuery && peekKeyword("EXEC"))
|
||||
return parseExec();
|
||||
|
||||
@ -2995,14 +2995,14 @@ final class ParserContext {
|
||||
}
|
||||
}
|
||||
|
||||
private final Block parseBlock(boolean allowDeclare) {
|
||||
private final Block parseBlock(boolean allowDeclareSection) {
|
||||
List<Statement> statements = new ArrayList<>();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (allowDeclare && parseKeywordIf("DECLARE") && requireProEdition())
|
||||
if (allowDeclareSection && parseKeywordIf("DECLARE") && requireProEdition())
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user