~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/base.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 11:15:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110705111532-zod5hduzwcqe01ea
Use boost::to_lower

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
  path.length= normalized_path.length= 0;
375
375
 
376
376
  std::string tb_name(identifier.getTableName());
377
 
  std::transform(tb_name.begin(), tb_name.end(), tb_name.begin(), ::tolower);
 
377
  boost::to_lower(tb_name);
378
378
  assert(strcmp(tb_name.c_str(), table_name.str) == 0);
379
 
 
380
379
  assert(strcmp(identifier.getSchemaName().c_str(), db.str) == 0);
381
380
}
382
381