mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / include / ctype_german.inc
blob14d09358bea3abffbe0b4accf00ce1776c7e44f1
2 # Bug #27877 incorrect german order in utf8_general_ci
4 # Testing if "SHARP S" is equal to "S",
5 # like in latin1_german1_ci, utf8_general_ci, ucs2_general_ci
6 # Or if "SHART S" is equal to "SS",
7 # like in latin1_german2_ci, utf8_unicode_ci, ucs2_unicode_ci
8
9 # Also testing A-uml, O-uml, U-uml
12 --disable_warnings
13 drop table if exists t1;
14 --enable_warnings
17 # Create a table with a varchar(x) column,
18 # using current values of
19 # @@character_set_connection and  @@collation_connection.
22 create table t1 as select repeat(' ', 64) as s1;
23 select collation(s1) from t1;
24 delete from t1;
27 # Populate data
30 insert into t1 values ('a'),('ae'),(_latin1 0xE4);
31 insert into t1 values ('o'),('oe'),(_latin1 0xF6);
32 insert into t1 values ('s'),('ss'),(_latin1 0xDF);
33 insert into t1 values ('u'),('ue'),(_latin1 0xFC);
36 # Check order
38 select s1, hex(s1) from t1 order by s1, binary s1;
39 select group_concat(s1 order by binary s1) from t1 group by s1;
40 drop table t1;