-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regexp should report error when pattern parameter is empty string #53221
Labels
Comments
/sig execution |
/severity minor |
/label affects-8.1 |
/assign @yibin87 |
13 tasks
terry1purcell
pushed a commit
to terry1purcell/tidb
that referenced
this issue
May 17, 2024
RidRisR
pushed a commit
to RidRisR/tidb
that referenced
this issue
May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mysql> create table t0 (a varchar(10));
mysql> insert into t0 values('');
mysql> select 'hello' regexp a from t0;
2. What did you expect to see? (Required)
Error "Empty pattern is invalid" should be reported
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
---------------------------------------------------------------------------------------+
| Release Version: v8.2.0-alpha-6-g8f138d5113
Edition: Community
Git Commit Hash: 8f138d5
Git Branch: HEAD
UTC Build Time: 2024-04-22 08:00:01
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: tikv |
The text was updated successfully, but these errors were encountered: