mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge of patch for bug#14685362 from mysql-5.1.
This commit is contained in:
@ -2215,6 +2215,8 @@ mysql_autodetect_character_set(MYSQL *mysql)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mysql->options.charset_name)
|
||||
my_free(mysql->options.charset_name);
|
||||
if (!(mysql->options.charset_name= my_strdup(csname, MYF(MY_WME))))
|
||||
return 1;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user