mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
sys_var_collation is now abstract class
Two separate classes sys_var_client_collation and sys_var_literal_collation have been added for "literal_collation" and "client_collation" variables.
This commit is contained in:
@ -602,7 +602,7 @@ bool mysql_change_db(THD *thd, const char *name)
|
||||
strmov(path+unpack_dirname(path,path), MY_DB_OPT_FILE);
|
||||
load_db_opt(path, &create);
|
||||
thd->db_charset= create.table_charset ? create.table_charset : default_charset_info;
|
||||
thd->variables.thd_charset=thd->db_charset ? thd->db_charset : default_charset_info;
|
||||
thd->variables.client_collation=thd->db_charset ? thd->db_charset : default_charset_info;
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user