~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.cc

Use List::begin()

Show diffs side-by-side

added added

removed removed

Lines of Context:
273
273
  {
274
274
    for (Select_Lex *lex= unit->first_select(); lex; lex= lex->next_select())
275
275
    {
276
 
      List<Item>::iterator li(lex->item_list);
 
276
      List<Item>::iterator li(lex->item_list.begin());
277
277
      Item *item;
278
278
      Order *order;
279
279
 
1057
1057
        upper_item->set_sum_test(item);
1058
1058
      *select_lex->ref_pointer_array= item;
1059
1059
      {
1060
 
        List<Item>::iterator it(select_lex->item_list);
 
1060
        List<Item>::iterator it(select_lex->item_list.begin());
1061
1061
        it++;
1062
1062
        it.replace(item);
1063
1063
      }
2096
2096
void subselect_engine::set_row(List<Item> &item_list, Item_cache **row)
2097
2097
{
2098
2098
  Item *sel_item;
2099
 
  List<Item>::iterator li(item_list);
 
2099
  List<Item>::iterator li(item_list.begin());
2100
2100
  res_type= STRING_RESULT;
2101
2101
  res_field_type= DRIZZLE_TYPE_VARCHAR;
2102
2102
  for (uint32_t i= 0; (sel_item= li++); i++)