Commit f8828f09 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Portability fix

parent 3fc4f073
...@@ -267,7 +267,7 @@ uint get_charset_number(const char *charset_name) ...@@ -267,7 +267,7 @@ uint get_charset_number(const char *charset_name)
const char *get_charset_name(uint charset_number) const char *get_charset_name(uint charset_number)
{ {
char *name=compiled_charset_name(charset_number); const char *name=compiled_charset_name(charset_number);
if (*name != '?') if (*name != '?')
return name; return name;
if (init_available_charsets(MYF(0))) /* If it isn't initialized */ if (init_available_charsets(MYF(0))) /* If it isn't initialized */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment