summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-04-07 16:10:27 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-04-07 16:10:27 +0500
commitb9b15d52393f9aa33fbb6a6fdc40c8df75aadb81 (patch)
treed46595aeafebe373e34fab33628294f37eef348d /sql/sql_class.cc
parent65ae25d092fe138ab0d0f9039a3ef8bc610b5031 (diff)
downloadmariadb-git-b9b15d52393f9aa33fbb6a6fdc40c8df75aadb81.tar.gz
sys_var_collation is now abstract class
Two separate classes sys_var_client_collation and sys_var_literal_collation have been added for "literal_collation" and "client_collation" variables.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 8fd507c2349..31159dc259f 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -207,7 +207,7 @@ void THD::init(void)
{
pthread_mutex_lock(&LOCK_global_system_variables);
variables= global_system_variables;
- variables.thd_charset=default_charset_info;
+ variables.client_collation= default_charset_info;
pthread_mutex_unlock(&LOCK_global_system_variables);
server_status= SERVER_STATUS_AUTOCOMMIT;
options= thd_startup_options;