summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 3edcdbc1f7f..b66c410c6d5 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -1083,6 +1083,11 @@ byte *sys_var_thd_conv_charset::value_ptr(THD *thd, enum_var_type type)
}
+void sys_var_thd_conv_charset::set_default(THD *thd, enum_var_type type)
+{
+ thd->variables.convert_set= global_system_variables.convert_set;
+}
+
bool sys_var_timestamp::update(THD *thd, set_var *var)
{