summaryrefslogtreecommitdiff
path: root/mysys/charset-def.c
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-03-29 14:48:47 +0500
committerbar@mysql.com <>2005-03-29 14:48:47 +0500
commit2d1e9862bcf230f573d99efb586afd87aa22893d (patch)
tree88f3eea2020d465ae12a0e6cab9f2e66b71d24b4 /mysys/charset-def.c
parenta259bcebd7d34c0e6522222e23d9bc6c471021dd (diff)
downloadmariadb-git-2d1e9862bcf230f573d99efb586afd87aa22893d.tar.gz
Adding Cybozu's patch.
Not active by default. One need to pass -DHAVE_CYBOZU_COLLATION to activate it.
Diffstat (limited to 'mysys/charset-def.c')
-rw-r--r--mysys/charset-def.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysys/charset-def.c b/mysys/charset-def.c
index 3278566788c..c7fa0ffd8e0 100644
--- a/mysys/charset-def.c
+++ b/mysys/charset-def.c
@@ -62,6 +62,9 @@ extern CHARSET_INFO my_charset_utf8_slovak_uca_ci;
extern CHARSET_INFO my_charset_utf8_spanish2_uca_ci;
extern CHARSET_INFO my_charset_utf8_roman_uca_ci;
extern CHARSET_INFO my_charset_utf8_persian_uca_ci;
+#ifdef HAVE_CYBOZU_COLLATION
+extern CHARSET_INFO my_charset_utf8_general_cs;
+#endif
#endif
#endif /* HAVE_UCA_COLLATIONS */
@@ -146,6 +149,9 @@ my_bool init_compiled_charsets(myf flags __attribute__((unused)))
#ifdef HAVE_CHARSET_utf8
add_compiled_collation(&my_charset_utf8_general_ci);
add_compiled_collation(&my_charset_utf8_bin);
+#ifdef HAVE_CYBOZU_COLLATION
+ add_compiled_collation(&my_charset_utf8_general_cs);
+#endif
#ifdef HAVE_UCA_COLLATIONS
add_compiled_collation(&my_charset_utf8_general_uca_ci);
add_compiled_collation(&my_charset_utf8_icelandic_uca_ci);