From d9354fb8a6536b0aef272a7b27162a395db131a6 Mon Sep 17 00:00:00 2001
From: "joerg@mysql.com" <>
Date: Mon, 21 Mar 2005 16:31:15 +0100
Subject: [PATCH] Code cleanup: should use 'element_count' here, see
 include/my_tree.h

(Change done by Ramil and sent via IRC)
---
 sql/item_sum.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index dd95a83a92..8ee9dc0859 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;
-- 
2.30.9