diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-04-07 16:10:27 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-04-07 16:10:27 +0500 |
commit | b9b15d52393f9aa33fbb6a6fdc40c8df75aadb81 (patch) | |
tree | d46595aeafebe373e34fab33628294f37eef348d /sql/sql_analyse.cc | |
parent | 65ae25d092fe138ab0d0f9039a3ef8bc610b5031 (diff) | |
download | mariadb-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_analyse.cc')
-rw-r--r-- | sql/sql_analyse.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc index 9bcfff62ba0..1f5462f8a3b 100644 --- a/sql/sql_analyse.cc +++ b/sql/sql_analyse.cc @@ -901,14 +901,14 @@ int collect_real(double *element, element_count count __attribute__((unused)), TREE_INFO *info) { char buff[MAX_FIELD_WIDTH]; - String s(buff, sizeof(buff),current_thd->variables.thd_charset); + String s(buff, sizeof(buff),current_thd->charset()); if (info->found) info->str->append(','); else info->found = 1; info->str->append('\''); - s.set(*element, info->item->decimals, current_thd->variables.thd_charset); + s.set(*element, info->item->decimals, current_thd->charset()); info->str->append(s); info->str->append('\''); return 0; @@ -927,7 +927,7 @@ int collect_longlong(longlong *element, else info->found = 1; info->str->append('\''); - s.set(*element, current_thd->variables.thd_charset); + s.set(*element, current_thd->charset()); info->str->append(s); info->str->append('\''); return 0; @@ -946,7 +946,7 @@ int collect_ulonglong(ulonglong *element, else info->found = 1; info->str->append('\''); - s.set(*element, current_thd->variables.thd_charset); + s.set(*element, current_thd->charset()); info->str->append(s); info->str->append('\''); return 0; |