[jOOQ/jOOQ#12649] Parser parses and ignores NOT keyword after column expression

This commit is contained in:
Lukas Eder 2021-11-23 16:55:46 +01:00
parent 08be0478da
commit 87e0f3aa64

View File

@ -6314,6 +6314,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
boolean notOp = false;
left = parseConcat();
int p = position();
not = parseKeywordIf("NOT");
@ -6538,8 +6539,10 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
return leftRow2.overlaps(rightRow2);
}
else
else {
position(p);
return left;
}
}
private final Condition parsePredicateXMLExistsIf() {