Skip to content

Commit

Permalink
Set parenthesized
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengguanLi committed Oct 1, 2024
1 parent d8c298b commit bd72570
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,7 @@ public SQLExpr primaryRest(SQLExpr expr) {
}

SQLListExpr listExpr = new SQLListExpr();
listExpr.setParenthesized(true);
this.exprList(listExpr.getItems(), listExpr);
item = listExpr;

Expand Down Expand Up @@ -2983,6 +2984,7 @@ public SQLUpdateSetItem parseUpdateSetItem() {
if (lexer.token == (Token.LPAREN)) {
lexer.nextToken();
SQLListExpr list = new SQLListExpr();
list.setParenthesized(true);
this.exprList(list.getItems(), list);
accept(Token.RPAREN);
item.setColumn(list);
Expand Down

0 comments on commit bd72570

Please sign in to comment.