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

SET NAMES has been extended to support optional collation:

SET NAMES <charset name> [COLLATE <collation name>]
This commit is contained in:
bar@bar.mysql.r18.ru
2003-03-05 12:37:39 +04:00
parent a95c024067
commit 4f930a7c2a
5 changed files with 70 additions and 18 deletions

View File

@ -423,10 +423,10 @@ public:
bool check_default(enum_var_type type) { return 0; }
};
class sys_var_thd_client_charset :public sys_var_thd
class sys_var_client_collation :public sys_var_thd
{
public:
sys_var_thd_client_charset(const char *name_arg) :sys_var_thd(name_arg)
sys_var_client_collation(const char *name_arg) :sys_var_thd(name_arg)
{}
bool check(THD *thd, set_var *var);
bool update(THD *thd, set_var *var);