Bug #98950 | REGEXP_REPLACE and REGEXP_SUBSTR still add null bytes | ||
---|---|---|---|
Submitted: | 13 Mar 2020 21:25 | Modified: | 6 Jul 2020 13:20 |
Reporter: | Jonathan Thiessen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S3 (Non-critical) |
Version: | 8.0.19 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[13 Mar 2020 21:25]
Jonathan Thiessen
[14 Mar 2020 1:53]
MySQL Verification Team
Thank you for the bug report.
[6 Jul 2020 12:42]
Tor Didriksen
Posted by developer: Fixed by the same patch as: Bug#31031886: EVALUATING REGEXP CHARACTER CLASSES IN BINARY STRING CONTEXTS
[6 Jul 2020 13:20]
Paul DuBois
Posted by developer: Fixed in 8.0.22. Regular expression functions such as REGEXP_LIKE() yielded inconsistent results with binary string arguments. These functions now reject binary strings with an error.