diff options
Diffstat (limited to 'sql/sql_connect.cc')
-rw-r--r-- | sql/sql_connect.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_connect.cc b/sql/sql_connect.cc index 6b195ac9fe7..f0baeae1b83 100644 --- a/sql/sql_connect.cc +++ b/sql/sql_connect.cc @@ -801,6 +801,9 @@ bool thd_init_client_charset(THD *thd, uint cs_number) cs->cs_name.str); return true; } + Charset_collation_map_st::Used used; + cs= global_system_variables.character_set_collations. + get_collation_for_charset(&used, cs); thd->org_charset= cs; thd->update_charset(cs,cs,cs); } |