summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-01-29 20:44:47 +0200
committerbell@sanja.is.com.ua <>2003-01-29 20:44:47 +0200
commita662f7e105ff9f0fe5b2fb7ac193d8f5a72370d1 (patch)
tree0388d71e4d05deefde23bc90c8ba8779cfaad936 /sql/item_func.cc
parent9525a58132be10ccf3baae3ac010974aaa92acf9 (diff)
downloadmariadb-git-a662f7e105ff9f0fe5b2fb7ac193d8f5a72370d1.tar.gz
fixed row items with group functions
fixed layout
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index dd452d99208..94cedfe1fa2 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -157,8 +157,8 @@ void Item_func::set_outer_resolving()
void Item_func::split_sum_func(Item **ref_pointer_array, List<Item> &fields)
{
- Item **arg,**arg_end;
- for (arg=args, arg_end=args+arg_count; arg != arg_end ; arg++)
+ Item **arg, **arg_end;
+ for (arg= args, arg_end= args+arg_count; arg != arg_end ; arg++)
{
if ((*arg)->with_sum_func && (*arg)->type() != SUM_FUNC_ITEM)
(*arg)->split_sum_func(ref_pointer_array, fields);
@@ -167,7 +167,7 @@ void Item_func::split_sum_func(Item **ref_pointer_array, List<Item> &fields)
uint el= fields.elements;
fields.push_front(*arg);
ref_pointer_array[el]= *arg;
- *arg=new Item_ref(ref_pointer_array + el, 0, (*arg)->name);
+ *arg= new Item_ref(ref_pointer_array + el, 0, (*arg)->name);
}
}
}