summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-08-05 12:52:37 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-08-05 12:52:37 +0500
commitfeae02f93bc3df09a03207f015046ddee8b96551 (patch)
tree32d0b515ccfba2f4c3d89d2551aefc3602e1d452 /sql/item_sum.cc
parent65315f00dadeebf0d9fd4749790989588134da5d (diff)
downloadmariadb-git-feae02f93bc3df09a03207f015046ddee8b96551.tar.gz
Old style charset() and set_charset() were removed.
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 3bd131c0e60..0da2725f3ab 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -193,7 +193,7 @@ Item_sum_hybrid::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
max_length=float_length(decimals);
}else
{
- cmp_charset= item->charset();
+ cmp_charset= item->collation.collation;
max_length=item->max_length;
}
decimals=item->decimals;