[MDEV-30746] Regression in ucs2_general_mysql500_ci Created: 2023-02-28 Updated: 2023-04-11 Resolved: 2023-03-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0 |
| Fix Version/s: | 10.11.3, 11.0.2, 10.4.29, 10.5.20, 10.6.13, 10.7.8, 10.8.8, 10.9.6, 10.10.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression-10.4 | ||
| Issue Links: |
|
||||||||
| Description |
|
ucs2_general_mysql500_ci is a MySQL-5.0.0 compatibility collations and (unlike ucs2_general_ci) sorts 'ß' after 's' in all MariaDB versions up to 10.3:
Starting from 10.4 it returns a wrong result (equal to ucs2_general_ci):
This is not expected. The compatibility collations should still provide the old MySQL-5.0.0 order. The order was broken by:
Note, a similar collation for utf8mb3 correctly returns results in the expected order in all MariaDB versions:
|