summaryrefslogtreecommitdiff
path: root/strings/ctype-ucs2.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-ucs2.c')
-rw-r--r--strings/ctype-ucs2.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/strings/ctype-ucs2.c b/strings/ctype-ucs2.c
index a780a296a9b..7fd1e595eca 100644
--- a/strings/ctype-ucs2.c
+++ b/strings/ctype-ucs2.c
@@ -3153,6 +3153,40 @@ struct charset_info_st my_charset_ucs2_general_ci=
&my_collation_ucs2_general_ci_handler
};
+
+struct charset_info_st my_charset_ucs2_general_mysql500_ci=
+{
+ 159, 0, 0, /* number */
+ MY_CS_COMPILED|MY_CS_STRNXFRM|MY_CS_UNICODE|MY_CS_NONASCII, /* state */
+ "ucs2", /* cs name */
+ "ucs2_general_mysql500_ci", /* name */
+ "", /* comment */
+ NULL, /* tailoring */
+ ctype_ucs2, /* ctype */
+ to_lower_ucs2, /* to_lower */
+ to_upper_ucs2, /* to_upper */
+ to_upper_ucs2, /* sort_order */
+ NULL, /* contractions */
+ NULL, /* sort_order_big */
+ NULL, /* tab_to_uni */
+ NULL, /* tab_from_uni */
+ my_unicase_mysql500, /* caseinfo */
+ NULL, /* state_map */
+ NULL, /* ident_map */
+ 1, /* strxfrm_multiply */
+ 1, /* caseup_multiply */
+ 1, /* casedn_multiply */
+ 2, /* mbminlen */
+ 2, /* mbmaxlen */
+ 0, /* min_sort_char */
+ 0xFFFF, /* max_sort_char */
+ ' ', /* pad char */
+ 0, /* escape_with_backslash_is_dangerous */
+ &my_charset_ucs2_handler,
+ &my_collation_ucs2_general_ci_handler
+};
+
+
struct charset_info_st my_charset_ucs2_bin=
{
90,0,0, /* number */