~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.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:
298
298
        str->append(' ');
299
299
 
300
300
        string t_alias(alias);
301
 
        transform(t_alias.begin(), t_alias.end(),
302
 
                  t_alias.begin(), ::tolower);
303
 
 
 
301
        transform(t_alias.begin(), t_alias.end(), t_alias.begin(), ::tolower);
304
302
        str->append_identifier(t_alias.c_str(), t_alias.length());
305
303
      }
306
 
 
307
304
    }
308
305
 
309
306
    if (index_hints)
310
307
    {
311
308
      List<Index_hint>::iterator it(index_hints->begin());
312
 
      Index_hint *hint;
313
 
 
314
 
      while ((hint= it++))
 
309
      while (Index_hint* hint= it++)
315
310
      {
316
311
        str->append (STRING_WITH_LEN(" "));
317
312
        hint->print (session, str);