mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-10743 LDML: a new syntax to reuse sort order from another 8bit simple collation
This commit is contained in:
@ -319,8 +319,29 @@
|
||||
</charset>
|
||||
|
||||
<charset name="ascii2">
|
||||
<!--
|
||||
Notes:
|
||||
- ascii2 has two collations with "binary" flag.
|
||||
ctype_ldml.test makes sure that
|
||||
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET ascii2 BINARY);
|
||||
uses ascii2_bin2, which is the collation with the least ID.
|
||||
- ascii2_general_inherited_ci inherits sort order in ascii2.xml
|
||||
- ascii2_genegal_inherited2_ci inherits sort order directly in this file.
|
||||
-->
|
||||
<collation name="ascii2_bin2" id="319" flag="binary"/>
|
||||
<collation name="ascii2_general_ci" id="320" flag="primary"/>
|
||||
<collation name="ascii2_bin" id="321" flag="binary"/>
|
||||
<collation name="ascii2_general_inherited_ci" id="322"/>
|
||||
<collation name="ascii2_general_inherited2_ci" id="323">
|
||||
<rules>
|
||||
<import source="ascii2_general_ci"/>
|
||||
</rules>
|
||||
</collation>
|
||||
<collation name="ascii2_badly_inherited_ci" id="324">
|
||||
<rules>
|
||||
<import source="ascii2_non_existing_ci"/>
|
||||
</rules>
|
||||
</collation>
|
||||
</charset>
|
||||
|
||||
<charset name="latin1">
|
||||
|
@ -116,6 +116,12 @@
|
||||
|
||||
<collation name="ascii2_bin" flag="binary"/>
|
||||
|
||||
<collation name="ascii2_general_inherited_ci">
|
||||
<rules>
|
||||
<import source="ascii2_general_ci"/>
|
||||
</rules>
|
||||
</collation>
|
||||
|
||||
</charset>
|
||||
|
||||
</charsets>
|
||||
|
Reference in New Issue
Block a user