You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: REGEXP_LIKE() : The third parameter can't use correctly #5537
- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
The problematic SQL stmt is :
SELECT REGEXP_LIKE('abc', 'ABC', 'c');
It's return :
ERROR 20203 (HY000): invalid argument function regexp_like, bad value [VARCHAR VARCHAR VARCHAR]
The result on MySQL :
+--------------------------------+
| REGEXP_LIKE('abc', 'ABC', 'c') |
+--------------------------------+
| 0 |
+--------------------------------+
Activity
domingozhang commentedon Oct 12, 2022
the third parameter will be supported in future release
iceTTTT commentedon Feb 1, 2023
pr merged
aressu1985 commentedon Feb 21, 2023
tracking
aressu1985 commentedon Mar 3, 2023
fixed
mysql> SELECT REGEXP_LIKE('abc', 'ABC', 'c');
+--------------------------+
| regexp_like(abc, ABC, c) |
+--------------------------+
| false |
+--------------------------+
1 row in set (1.09 sec)