diff options
author | bar@bar.mysql.r18.ru <> | 2003-04-07 16:10:27 +0500 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2003-04-07 16:10:27 +0500 |
commit | e165845d39aa6ce33f543fb033776363fad7784c (patch) | |
tree | d46595aeafebe373e34fab33628294f37eef348d /sql/sql_analyse.cc | |
parent | e0caf3f22517ebf57c2f0e5347ac0b2c90edcf50 (diff) | |
download | mariadb-git-e165845d39aa6ce33f543fb033776363fad7784c.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; |