diff options
author | unknown <root@home.(none)> | 2003-03-16 10:56:14 +0400 |
---|---|---|
committer | unknown <root@home.(none)> | 2003-03-16 10:56:14 +0400 |
commit | 6b11fa3a247e9dd961f0a570a208cedeb750c1a7 (patch) | |
tree | 460a8abc4de11ac2745df4507cc3edbbda326194 /mysys/test_charset.c | |
parent | a4d8174473161708be20bfa1c18bee988bd51ed8 (diff) | |
download | mariadb-git-6b11fa3a247e9dd961f0a570a208cedeb750c1a7.tar.gz |
set_default_charset() is not used anymore
Some system_charset_info were removed
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysys/test_charset.c')
-rw-r--r-- | mysys/test_charset.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/test_charset.c b/mysys/test_charset.c index d031007a1da..6b0f728593a 100644 --- a/mysys/test_charset.c +++ b/mysys/test_charset.c @@ -58,6 +58,7 @@ int main(int argc, char **argv) { const char *the_set = MYSQL_CHARSET; char *cs_list; int argcnt = 1; + CHARSET_INFO *cs; my_init(); @@ -70,11 +71,11 @@ int main(int argc, char **argv) { if (argc > argcnt) charsets_dir = argv[argcnt++]; - if (set_default_charset_by_name(the_set, MYF(MY_WME))) + if (!(cs= get_charset_by_name(the_set, MYF(MY_WME)))) return 1; puts("CHARSET INFO:"); - _print_csinfo(default_charset_info); + _print_csinfo(cs); fflush(stdout); cs_list = list_charsets(MYF(MY_CS_COMPILED | MY_CS_CONFIG)); |