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/charset2html.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/charset2html.c')
-rw-r--r-- | mysys/charset2html.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/charset2html.c b/mysys/charset2html.c index 0d6450a8116..3da24232ad4 100644 --- a/mysys/charset2html.c +++ b/mysys/charset2html.c @@ -108,6 +108,7 @@ static void print_cs(CHARSET_INFO *cs) int main(int argc, char **argv) { const char *the_set = MYSQL_CHARSET; int argcnt = 1; + CHARSET_INFO *cs; my_init(); @@ -120,10 +121,10 @@ 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; - print_cs(default_charset_info); + print_cs(cs); return 0; } |