1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Preparing to use my_charset_bin instead of binary_flag

This commit is contained in:
unknown
2002-10-23 18:20:45 +05:00
parent efe61a86bf
commit b75c3dac19
3 changed files with 7 additions and 4 deletions

View File

@ -146,10 +146,10 @@ void my_hash_sort_bin(CHARSET_INFO *cs __attribute__((unused)),
CHARSET_INFO my_charset_bin =
static CHARSET_INFO my_charset_bin_st =
{
63, /* number */
MY_CS_COMPILED, /* state */
MY_CS_COMPILED|MY_CS_BINSORT,/* state */
"binary", /* name */
"", /* comment */
NULL, /* ctype */
@ -180,3 +180,5 @@ CHARSET_INFO my_charset_bin =
255 /* max_sort_char */
};
CHARSET_INFO *my_charset_bin = &my_charset_bin_st;

View File

@ -3658,7 +3658,6 @@ CHARSET_INFO *system_charset_info = &compiled_charsets[0];
#define MY_ADD_CHARSET(x) all_charsets[(x)->number]=(x)
extern CHARSET_INFO my_charset_bin;
extern CHARSET_INFO my_charset_big5;
extern CHARSET_INFO my_charset_czech;
extern CHARSET_INFO my_charset_euc_kr;
@ -3677,7 +3676,7 @@ my_bool init_compiled_charsets(myf flags __attribute__((unused)))
{
CHARSET_INFO *cs;
MY_ADD_CHARSET(&my_charset_bin);
MY_ADD_CHARSET(my_charset_bin);
#ifdef HAVE_CHARSET_big5
MY_ADD_CHARSET(&my_charset_big5);