Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengguanLi authored and lizongbo committed Apr 29, 2024
1 parent 0721e09 commit b3546cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ public SQLExpr primary() {
lexer.nextToken();
break;
case IDENTIFIER:
sqlExpr = new SQLUnaryExpr(SQLUnaryOperator.Negative, new SQLIdentifierExpr(lexer.stringVal()));
lexer.nextToken();
sqlExpr = primary();
sqlExpr = new SQLUnaryExpr(SQLUnaryOperator.Negative, sqlExpr);
break;
case VARIANT:
case QUES:
Expand Down

0 comments on commit b3546cd

Please sign in to comment.