[jOOQ/jOOQ#13771] Parser doesn't support parsing parenthesised GROUP BY expression
This commit is contained in:
parent
9fe180919c
commit
7ac2013a51
@ -1883,7 +1883,7 @@ final class DefaultParseContext extends AbstractScope implements ParseContext {
|
||||
if (!parseKeywordIf("ALL") && parseKeywordIf("DISTINCT"))
|
||||
result.setGroupByDistinct(true);
|
||||
|
||||
if (parseIf('(')) {
|
||||
if (parseIf('(', ')', true)) {
|
||||
parse(')');
|
||||
result.addGroupBy();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user