~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/foreign_key.cc

  • Committer: Mark Atwood
  • Date: 2011-06-24 11:45:17 UTC
  • mfrom: (2318.6.64 rf)
  • Revision ID: me@mark.atwood.name-20110624114517-1mq8no6jlp2nrg7m
mergeĀ lp:~olafvdspek/drizzle/refactor15

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
{
99
99
  /* Make a deep copy of each element */
100
100
  typename List<T>::iterator it(list.begin());
101
 
  T *el;
102
 
  while ((el= it++))
 
101
  while (T* el= it++)
103
102
    it.replace(el->clone(mem_root));
104
103
}
105
104