diff options
author | unknown <bar@mysql.com/bar.intranet.mysql.r18.ru> | 2006-07-20 15:52:48 +0500 |
---|---|---|
committer | unknown <bar@mysql.com/bar.intranet.mysql.r18.ru> | 2006-07-20 15:52:48 +0500 |
commit | d2f7fe35584a75d5bc3a9a6950cc15d264e31241 (patch) | |
tree | cf338a30b3f30a560b5848d02c779d417afbbd14 /include | |
parent | b53e47a1ec183896994b5dbbae5e27129fce6981 (diff) | |
download | mariadb-git-d2f7fe35584a75d5bc3a9a6950cc15d264e31241.tar.gz |
Bug#20471 LIKE search fails with indexed utf8 char column
The main problem was already fixed by Igor under terms of 16674.
Adding some additional minor fixes and tests.
include/m_ctype.h:
Adding reference to CHARSET_INFO.txt
mysql-test/r/ctype_utf8.result:
Adding test case
mysql-test/t/ctype_utf8.test:
Adding test case
strings/CHARSET_INFO.txt:
Adding comment about max_sort_char
strings/ctype-mb.c:
Restiring that non-Unicode character sets use 0xFF as pad character
for max_str. Only Unicode character sets use wc_mb.
strings/ctype-utf8.c:
Fixed that max_sort_char for UTF8 from U+00FF to U+FFFF.
Diffstat (limited to 'include')
-rw-r--r-- | include/m_ctype.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h index cd1dac9dde8..b9ed39414bb 100644 --- a/include/m_ctype.h +++ b/include/m_ctype.h @@ -108,6 +108,8 @@ enum my_lex_states struct charset_info_st; + +/* See strings/CHARSET_INFO.txt about information on this structure */ typedef struct my_collation_handler_st { my_bool (*init)(struct charset_info_st *, void *(*alloc)(uint)); @@ -147,6 +149,7 @@ extern MY_COLLATION_HANDLER my_collation_8bit_simple_ci_handler; extern MY_COLLATION_HANDLER my_collation_ucs2_uca_handler; +/* See strings/CHARSET_INFO.txt about information on this structure */ typedef struct my_charset_handler_st { my_bool (*init)(struct charset_info_st *, void *(*alloc)(uint)); @@ -204,6 +207,7 @@ extern MY_CHARSET_HANDLER my_charset_8bit_handler; extern MY_CHARSET_HANDLER my_charset_ucs2_handler; +/* See strings/CHARSET_INFO.txt about information on this structure */ typedef struct charset_info_st { uint number; |