Loading include/m_ctype.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ enum my_lex_states struct charset_info_st; /* See strings/CHARSET_INFO.txt about information on this structure */ /* See strings/CHARSET_INFO.txt for information about this structure */ typedef struct my_collation_handler_st { my_bool (*init)(struct charset_info_st *, void *(*alloc)(uint)); Loading strings/ctype-mb.c +14 −7 Original line number Diff line number Diff line Loading @@ -449,13 +449,20 @@ static void my_hash_sort_mb_bin(CHARSET_INFO *cs __attribute__((unused)), /* Fill the given buffer with 'maximum character' for given charset SYNOPSIS pad_max_char() cs Character set str Start of buffer to fill end End of buffer to fill DESCRIPTION Write max key: - for non-Unicode character sets: just set to 255. - for Unicode character set (utf-8): create a buffer with multibyte representation of the max_sort_char character, and copy it into max_str in a loop. create a buffer with multibyte representation of the max_sort_char character, and copy it into max_str in a loop. */ static void pad_max_char(CHARSET_INFO *cs, char *str, char *end) { Loading Loading
include/m_ctype.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ enum my_lex_states struct charset_info_st; /* See strings/CHARSET_INFO.txt about information on this structure */ /* See strings/CHARSET_INFO.txt for information about this structure */ typedef struct my_collation_handler_st { my_bool (*init)(struct charset_info_st *, void *(*alloc)(uint)); Loading
strings/ctype-mb.c +14 −7 Original line number Diff line number Diff line Loading @@ -449,13 +449,20 @@ static void my_hash_sort_mb_bin(CHARSET_INFO *cs __attribute__((unused)), /* Fill the given buffer with 'maximum character' for given charset SYNOPSIS pad_max_char() cs Character set str Start of buffer to fill end End of buffer to fill DESCRIPTION Write max key: - for non-Unicode character sets: just set to 255. - for Unicode character set (utf-8): create a buffer with multibyte representation of the max_sort_char character, and copy it into max_str in a loop. create a buffer with multibyte representation of the max_sort_char character, and copy it into max_str in a loop. */ static void pad_max_char(CHARSET_INFO *cs, char *str, char *end) { Loading