summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorpem@mysql.com <>2003-04-03 20:19:18 +0200
committerpem@mysql.com <>2003-04-03 20:19:18 +0200
commit331c56bc362a6c3ecef1ec3f81fa60eb1c98d50c (patch)
treef8c89f2fee59a5958ddf56bf32d5fe92162395c6 /sql/item_sum.cc
parentf3049df7c8fe4d49ea19aeb1821beacc264cf66c (diff)
downloadmariadb-git-331c56bc362a6c3ecef1ec3f81fa60eb1c98d50c.tar.gz
And got rid of signess warnings...
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 783a38b0ebe..653f71e3d79 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -1631,7 +1631,7 @@ void Item_func_group_concat::reset_field()
bool
Item_func_group_concat::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
{
- uint i; /* for loop variable */
+ int i; /* for loop variable */
if (!thd->allow_sum_func)
{
@@ -1641,11 +1641,11 @@ Item_func_group_concat::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
thd->allow_sum_func= 0;
maybe_null= 0;
- for (i= 0 ; i < arg_count ; i++)
+ for (uint ui= 0 ; ui < arg_count ; ui++)
{
- if (args[i]->fix_fields(thd, tables, args + i) || args[i]->check_cols(1))
+ if (args[ui]->fix_fields(thd, tables, args + ui) || args[ui]->check_cols(1))
return 1;
- maybe_null |= args[i]->maybe_null;
+ maybe_null |= args[ui]->maybe_null;
}
for (i= 0 ; i < arg_count_field ; i++)
{