summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-06-23 14:25:48 +0400
committerAlexander Barkov <bar@mariadb.org>2016-06-23 14:25:48 +0400
commit25e68c5e46ced7e626853cdf5491c2b5430fd51b (patch)
tree8a20b99ad0f5a9274760824e89276361bc7b44fe /mysql-test/std_data
parent3e03b89b0a683dd3b14d6ea24d2ca93accdfd61f (diff)
downloadmariadb-git-25e68c5e46ced7e626853cdf5491c2b5430fd51b.tar.gz
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.
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/Index.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/std_data/Index.xml b/mysql-test/std_data/Index.xml
index 5139db0554a..b66fdfee55c 100644
--- a/mysql-test/std_data/Index.xml
+++ b/mysql-test/std_data/Index.xml
@@ -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>