diff options
author | bar@bar.mysql.r18.ru <> | 2002-12-19 09:38:28 +0400 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2002-12-19 09:38:28 +0400 |
commit | 6ac401b550bb3b05fda0a6bb569944bf29000fed (patch) | |
tree | 00579db9d15214c70bc9b6f49d87a5618c0228e5 /sql/sql_analyse.cc | |
parent | 161fec7b8b2215770f435c5bb2d6e6871ff7f807 (diff) | |
download | mariadb-git-6ac401b550bb3b05fda0a6bb569944bf29000fed.tar.gz |
thd_charset has been moved to variables structure
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r-- | sql/sql_analyse.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc index acd67ad66d7..c1d49fdab51 100644 --- a/sql/sql_analyse.cc +++ b/sql/sql_analyse.cc @@ -898,14 +898,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->thd_charset); + String s(buff, sizeof(buff),current_thd->variables.thd_charset); if (info->found) info->str->append(','); else info->found = 1; info->str->append('\''); - s.set(*element, info->item->decimals, current_thd->thd_charset); + s.set(*element, info->item->decimals, current_thd->variables.thd_charset); info->str->append(s); info->str->append('\''); return 0; |