mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #2056 from sunsun314/master-1
#2055 change the function to parse the sql in the right of '~'
This commit is contained in:
@@ -693,7 +693,7 @@ public class SQLExprParser extends SQLParser {
|
||||
break;
|
||||
case TILDE:
|
||||
lexer.nextToken();
|
||||
SQLExpr unaryValueExpr = expr();
|
||||
SQLExpr unaryValueExpr = primary();
|
||||
SQLUnaryExpr unary = new SQLUnaryExpr(SQLUnaryOperator.Compl, unaryValueExpr);
|
||||
sqlExpr = unary;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user