[jOOQ/jOOQ#12700] Single element IN predicate without parentheses uses
wrong operator precedence
This commit is contained in:
parent
9e940cccc6
commit
c76fdce133
@ -6426,8 +6426,8 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
// [#12691] Some dialects support A IN B syntax without parentheses for single element in lists
|
||||
if (isField && !peek('(')) {
|
||||
result = not
|
||||
? ((Field) left).notIn(parseField())
|
||||
: ((Field) left).in(parseField());
|
||||
? ((Field) left).notIn(parseConcat())
|
||||
: ((Field) left).in(parseConcat());
|
||||
}
|
||||
else {
|
||||
parse('(');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user