~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
  aggr_sel= NULL;
93
93
  max_arg_level= -1;
94
94
  max_sum_func_level= -1;
95
 
  outer_fields.empty();
 
95
  outer_fields.clear();
96
96
  return false;
97
97
}
98
98
 
256
256
        select the field belongs to. If there are some then an error is
257
257
        raised.
258
258
    */
259
 
    List_iterator<Item_field> of(outer_fields);
 
259
    List<Item_field>::iterator of(outer_fields);
260
260
    while ((field= of++))
261
261
    {
262
262
      Select_Lex *sel= field->cached_table->select_lex;
396
396
    }
397
397
  }
398
398
  mark_as_sum_func();
399
 
  list.empty();                                 // Fields are used
 
399
  list.clear();                                 // Fields are used
400
400
}
401
401
 
402
402