2 # Testing filesort for full Unicode character sets
3 # with supplementary characters.
7 --echo # Bug#55980 Character sets: supplementary character _bin ordering is wrong
9 CREATE
TABLE t1 AS SELECT REPEAT(
'a',1) AS a LIMIT 0;
11 INSERT INTO t1 VALUES (_utf8mb4 0xEFBE9D),(_utf8mb4 0xF0908E84);
12 INSERT INTO t1 VALUES (_utf8mb4 0xCE85),(_utf8mb4 0xF4808080);
13 SELECT HEX(a), HEX(CONVERT(a USING utf8mb4)) FROM t1
ORDER BY a;
15 SELECT HEX(a), HEX(CONVERT(a USING utf8mb4)) FROM t1
ORDER BY a;
16 --echo
# Additional test for bug#37244 Character sets: short utf8_bin weight_string value
17 SELECT HEX(a), HEX(WEIGHT_STRING(a)) FROM t1
ORDER BY a;
18 DROP
TABLE IF EXISTS t1;