[MDEV-17064] LIKE function has error behavior on the fields in which the collation is xxx_unicode_xx Created: 2018-08-24 Updated: 2019-04-28 Resolved: 2018-10-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.0, 10.1, 10.3.9, 10.2, 10.3 |
| Fix Version/s: | 10.0.37, 10.3.11, 10.4.0, 10.1.37, 10.2.19 |
| Type: | Bug | Priority: | Major |
| Reporter: | Tao Su | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows Plateform |
||
| Issue Links: |
|
||||||||
| Description |
|
I still get empty set when I alter the collation of the field "name" to utf8_unicode_520_ci, utf8mb4_unicode_ci, utf8mb4_unicode_520_ci. But all work fine on utf8_general_ci, utf8mb4_general_ci. Pls forgive me for my bad english. |
| Comments |
| Comment by Alice Sherepa [ 2018-08-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for the report!
MariaDB 10.2
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2018-10-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A smaller script reproducing the problem:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2018-10-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A similar bug was earlier fixed in MySQL in utf8_general_ci: |