[MDEV-21640] REGEXP_REPLACE 'pcre_exec: null argument passed' from regexp Created: 2020-02-03 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Data types |
| Affects Version/s: | 10.4.10, 10.4.11, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Chris Hewett | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | None | ||
| Environment: |
CentOS 7 |
||
| Description |
| Comments |
| Comment by Elena Stepanova [ 2020-03-07 ] | |||||||||||||||||||||||||||||||||||
|
Thanks for the report.
Not reproducible with latin1:
| |||||||||||||||||||||||||||||||||||
| Comment by Edouard [ 2020-03-20 ] | |||||||||||||||||||||||||||||||||||
|
Hi all, Just to add informations:
Workaround in the meanwhile (update in buster stable may be really long) :
Sure we can do it better, so do not hesitate to share, Regards, Edouard | |||||||||||||||||||||||||||||||||||
| Comment by Christian Proust [ 2020-11-20 ] | |||||||||||||||||||||||||||||||||||
|
I have MariaDB 10.5.5. I cannot reproduce the bug with the code in the first comment comment-146036 (it does not issue any warning for me). I can reproduce the bug with the code from the summary. The error message is for me:
I notice that the bug does not appear with utf8mb4_unicode_ci, only with utf8_unicode_ci. Maybe it's a good workaround? |