~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 12:07:34 UTC
  • mto: (2247.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323120734-adgne8jcxj3slos2
Use BOOST_FOREACH

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
    {
237
237
      std::string table_error;
238
238
 
239
 
      for (util::string::vector::iterator iter= wrong_tables.begin();
240
 
           iter != wrong_tables.end();
241
 
           iter++)
 
239
      BOOST_FOREACH(util::string::vector::reference iter, wrong_tables)
242
240
      {
243
 
        table_error+= *iter;
 
241
        table_error+= iter;
244
242
        table_error+= ',';
245
243
      }
246
244
      table_error.resize(table_error.size() -1);