diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-05-23 18:39:55 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-05-23 18:39:55 +0500 |
commit | a253245ac2c2b7af4616f1b3ff02a2439b0fa31f (patch) | |
tree | 910998d8cf1dff260d939c93d709b4e1b66df190 /mysys/charset.c | |
parent | 009c0832968a88ef96c2d5b1e2e1fc140ed3a9d5 (diff) | |
download | mariadb-git-a253245ac2c2b7af4616f1b3ff02a2439b0fa31f.tar.gz |
BINARY collations for every character set
Diffstat (limited to 'mysys/charset.c')
-rw-r--r-- | mysys/charset.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c index f5d07403948..82bace7fb2c 100644 --- a/mysys/charset.c +++ b/mysys/charset.c @@ -395,13 +395,16 @@ CHARSET_INFO *default_charset_info = &my_charset_latin1; static my_bool init_compiled_charsets(myf flags __attribute__((unused))) { CHARSET_INFO *cs; + + MY_ADD_CHARSET(&my_charset_bin); MY_ADD_CHARSET(&my_charset_latin1); - MY_ADD_CHARSET(&my_charset_bin); + MY_ADD_CHARSET(&my_charset_latin1_bin); MY_ADD_CHARSET(&my_charset_latin1_german2_ci); #ifdef HAVE_CHARSET_big5 MY_ADD_CHARSET(&my_charset_big5_chinese_ci); + MY_ADD_CHARSET(&my_charset_big5_bin); #endif #ifdef HAVE_CHARSET_czech @@ -410,34 +413,42 @@ static my_bool init_compiled_charsets(myf flags __attribute__((unused))) #ifdef HAVE_CHARSET_euc_kr MY_ADD_CHARSET(&my_charset_euckr_korean_ci); + MY_ADD_CHARSET(&my_charset_euckr_bin); #endif #ifdef HAVE_CHARSET_gb2312 MY_ADD_CHARSET(&my_charset_gb2312_chinese_ci); + MY_ADD_CHARSET(&my_charset_gb2312_bin); #endif #ifdef HAVE_CHARSET_gbk MY_ADD_CHARSET(&my_charset_gbk_chinese_ci); + MY_ADD_CHARSET(&my_charset_gbk_bin); #endif #ifdef HAVE_CHARSET_sjis MY_ADD_CHARSET(&my_charset_sjis_japanese_ci); + MY_ADD_CHARSET(&my_charset_sjis_bin); #endif #ifdef HAVE_CHARSET_tis620 MY_ADD_CHARSET(&my_charset_tis620_thai_ci); + MY_ADD_CHARSET(&my_charset_tis620_bin); #endif #ifdef HAVE_CHARSET_ucs2 MY_ADD_CHARSET(&my_charset_ucs2_general_ci); + MY_ADD_CHARSET(&my_charset_ucs2_bin); #endif #ifdef HAVE_CHARSET_ujis MY_ADD_CHARSET(&my_charset_ujis_japanese_ci); + MY_ADD_CHARSET(&my_charset_ujis_bin); #endif #ifdef HAVE_CHARSET_utf8 MY_ADD_CHARSET(&my_charset_utf8_general_ci); + MY_ADD_CHARSET(&my_charset_utf8_bin); #endif #ifdef HAVE_CHARSET_win1250ch |