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.c38
1 files changed, 36 insertions, 2 deletions
diff --git a/strings/ctype-ucs2.c b/strings/ctype-ucs2.c
index 6c2d1cf2fb1..d2a67cc7f23 100644
--- a/strings/ctype-ucs2.c
+++ b/strings/ctype-ucs2.c
@@ -1,5 +1,5 @@
-/* Copyright (c) 2003, 2010, Oracle and/or its affiliates
- Copyright (c) 2009-2011, Monty Program Ab
+/* Copyright (c) 2003, 2012, Oracle and/or its affiliates
+ Copyright (c) 2009, 2011, Monty Program Ab
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -1740,6 +1740,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, /* 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 */