strongduanmu commented on code in PR #26731:
URL: https://github.com/apache/shardingsphere/pull/26731#discussion_r1250174708


##########
parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/BaseRule.g4:
##########
@@ -872,7 +872,7 @@ predicate
     | bitExpr NOT? BETWEEN bitExpr AND predicate
     | bitExpr SOUNDS LIKE bitExpr
     | bitExpr NOT? LIKE simpleExpr (ESCAPE simpleExpr)?
-    | bitExpr NOT? REGEXP bitExpr
+    | bitExpr NOT? (REGEXP | RLIKE) bitExpr

Review Comment:
   Since RLIKE and REGEXP are synonyms, this change is ok.
   
   
https://github.com/mysql/mysql-server/blob/ea7087d885006918ad54458e7aad215b1650312c/sql/lex.h#L610



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to