summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-06-29 12:58:43 +0300
committerunknown <monty@mashka.mysql.fi>2003-06-29 12:58:43 +0300
commite224c1238d58c99b10ff6f55f816bee09be146c8 (patch)
treed033a2cb19acc7382add71516ff61db3dd936e95 /sql/set_var.cc
parent5768f4a34ed7218c61ed34cf5b76eee66b715224 (diff)
downloadmariadb-git-e224c1238d58c99b10ff6f55f816bee09be146c8.tar.gz
SET CHARACTER SET DEFAULT didn't work (Bug #462)
BUILD/compile-pentium-debug-max: Removed -DBIG_TABLES because of problems with gdb 5.3 sql/set_var.cc: SET CHARACTER SET DEFAULT didn't work sql/set_var.h: SET CHARACTER SET DEFAULT didn't work
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)
{