mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-8686 A user defined collation utf8_confusables doesn't work
The collation customization code for the UCA (Unicode Collation Alrorithm) based collations now allows to reset to and shift of characters with implicit weights. Previously reset/shift worked only for the characters with explicit DUCET weights. An attempt to use reset/shift with character with implicit weights made the server crash.
This commit is contained in:
@@ -1117,6 +1117,16 @@
|
||||
</rules>
|
||||
</collation>
|
||||
|
||||
<collation name="utf8_implicit_weights_ci" id="338">
|
||||
<rules>
|
||||
<reset>\u3400</reset><i>b</i>
|
||||
<reset>a</reset><i>\u3561</i>
|
||||
<reset>c</reset><i>\u1500</i>
|
||||
<reset>\u3600</reset><i>\u1501</i>
|
||||
<reset>\u3700</reset><i>\u3701</i>
|
||||
</rules>
|
||||
</collation>
|
||||
|
||||
</charset>
|
||||
|
||||
</charsets>
|
||||
|
Reference in New Issue
Block a user