From b29cc128bfb15a4a81eda0031b0f2e74c862d250 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 19 Dec 2002 09:38:28 +0400 Subject: thd_charset has been moved to variables structure --- sql/sql_analyse.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_analyse.cc') 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; -- cgit v1.2.1