From 4ac98ec5215dedff9e24b91d305e9eec5ee3b96f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 23 Apr 2003 18:38:54 +0500 Subject: [PATCH] set_var.cc: We don't need this code any more. It was used to initialize CONVERT structure in 4.0. sql/set_var.cc: We don't need this code any more. It was used to initialize CONVERT structure in 4.0. --- sql/set_var.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sql/set_var.cc b/sql/set_var.cc index ea0b569f05d..d39a506c82d 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -1215,11 +1215,7 @@ bool sys_var_collation_client::update(THD *thd, set_var *var) if (var->type == OPT_GLOBAL) global_system_variables.collation_client= var->save_result.charset; else - { thd->variables.collation_client= var->save_result.charset; - thd->protocol_simple.init(thd); - thd->protocol_prep.init(thd); - } return 0; } @@ -1236,9 +1232,7 @@ void sys_var_collation_client::set_default(THD *thd, enum_var_type type) if (type == OPT_GLOBAL) global_system_variables.collation_client= default_charset_info; else - { thd->variables.collation_client= global_system_variables.collation_client; - } }