~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1690
1690
    are fixed in Item_field constructor.
1691
1691
  */
1692
1692
  for (Field **ptr= field; *ptr; ptr++)
1693
 
  {
1694
 
    Item_field *item= new Item_field(*ptr);
1695
 
    if (!item || item_list->push_back(item))
1696
 
      return true;
1697
 
  }
1698
 
  return false;
 
1693
    item_list->push_back(new Item_field(*ptr));
 
1694
  return false; // todo: return void
1699
1695
}
1700
1696
 
1701
1697