summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorunknown <joerg@mysql.com>2005-03-21 16:31:15 +0100
committerunknown <joerg@mysql.com>2005-03-21 16:31:15 +0100
commit04a410d4e9a502f9950688fefd35451a84d0f1d5 (patch)
tree6fd6746612f5d7674658f6d0d6f5db20bd98d934 /sql/item_sum.cc
parentdc79caa979bba740f43582652821bd37c3ca10b6 (diff)
downloadmariadb-git-04a410d4e9a502f9950688fefd35451a84d0f1d5.tar.gz
Code cleanup: should use 'element_count' here, see include/my_tree.h
(Change done by Ramil and sent via IRC)
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 dd95a83a921..8ee9dc0859b 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -2158,7 +2158,7 @@ int composite_key_cmp(void* arg, byte* key1, byte* key2)
}
-static int count_distinct_walk(void *elem, unsigned int count, void *arg)
+static int count_distinct_walk(void *elem, element_count count, void *arg)
{
(*((ulonglong*)arg))++;
return 0;