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
Collation not respected properly by LIKE
and REGEXP_LIKE
#4176
Comments
We're working through charset/collation tests/bugs over the next couple days. @Hydrocharged will look into this with that. |
@Hydrocharged tells me regexes are not supported with collations. We'll update the docs. |
Including |
Indeed, all |
Maybe we should error (or warn) when a user uses a regex with a non-default utf8 collation or another charset. |
A |
@timsehn I'll add a warning @knutwannheden You are correct that
Are you receiving different results? Only pattern matching is not supported for collations, all other forms of matching should work. If not, definitely file a bug and we'll get on it! |
Hmm... Not sure what happened there, but I tested it again now and can confirm it works with the equality operator. I will adjust the issue title to make it clear that it pertains to |
utf8mb4_unicode_ci
collationLIKE
and REGEXP_LIKE
Thank you for the title update! Is it possible that you used a different connector the first time? Theoretically it shouldn't make a difference, but we have found some very strange bugs when using different connectors. |
Based on the most recent release notes, I get the impression that this issue can be closed. I will try to verify. |
Only |
When executing the following script:
the result from the last query returns one row only, whereas two rows would be expected. For reference see: https://www.db-fiddle.com/f/doWaAhgwu5qhG2dYo9A34A/0
The text was updated successfully, but these errors were encountered: