mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
mysqlshow and mysqldump now send their vharacter set to server
character_set_results is now the same with character_set_client by default
This commit is contained in:
parent
d1e7a597ae
commit
487a64963b
8 changed files with 25 additions and 10 deletions
|
|
@ -1355,7 +1355,7 @@ CHARSET_INFO ** sys_var_character_set_results::ci_ptr(THD *thd, enum_var_type ty
|
|||
void sys_var_character_set_results::set_default(THD *thd, enum_var_type type)
|
||||
{
|
||||
if (type == OPT_GLOBAL)
|
||||
global_system_variables.character_set_results= NULL;
|
||||
global_system_variables.character_set_results= default_charset_info;
|
||||
else
|
||||
thd->variables.character_set_results= global_system_variables.character_set_results;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue