summaryrefslogtreecommitdiff
path: root/sql/sql_analyse.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-10-30 16:19:43 +0400
committerunknown <bar@bar.mysql.r18.ru>2002-10-30 16:19:43 +0400
commit85f35cbf574eac4bbc0f5dda0416da33da086cd0 (patch)
treeafd6e4ea67b585a5ec68bd069142c6d208822c5a /sql/sql_analyse.cc
parent2b6c55db1f57f5541a701c642986f5248150ed9d (diff)
downloadmariadb-git-85f35cbf574eac4bbc0f5dda0416da33da086cd0.tar.gz
All String->set() now have charset argument
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r--sql/sql_analyse.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc
index deb1e2821c1..d1ecdd029d5 100644
--- a/sql/sql_analyse.cc
+++ b/sql/sql_analyse.cc
@@ -903,7 +903,7 @@ int collect_real(double *element, element_count count __attribute__((unused)),
else
info->found = 1;
info->str->append('\'');
- s.set(*element, info->item->decimals);
+ s.set(*element, info->item->decimals, my_thd_charset);
info->str->append(s);
info->str->append('\'');
return 0;
@@ -922,7 +922,7 @@ int collect_longlong(longlong *element,
else
info->found = 1;
info->str->append('\'');
- s.set(*element);
+ s.set(*element,default_charset_info);
info->str->append(s);
info->str->append('\'');
return 0;
@@ -941,7 +941,7 @@ int collect_ulonglong(ulonglong *element,
else
info->found = 1;
info->str->append('\'');
- s.set(*element);
+ s.set(*element,default_charset_info);
info->str->append(s);
info->str->append('\'');
return 0;