1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SET NAMES doesn't start recoding

SET CHARACTER SET does
This commit is contained in:
bar@bar.mysql.r18.ru
2003-04-08 11:33:54 +05:00
parent 06febc8df3
commit 2cdc21d24a
7 changed files with 27 additions and 26 deletions

View File

@ -602,7 +602,6 @@ 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.client_collation=thd->db_charset ? thd->db_charset : default_charset_info;
DBUG_RETURN(0);
}