~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/identifier/constants/schema.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:
33
33
  Schema(const std::string &name) :
34
34
    identifier::Schema(name)
35
35
  {
36
 
    std::transform(name.begin(), name.end(), _path.begin(), ::tolower);
 
36
    _path= boost::to_lower_copy(name);
37
37
  }
38
38
 
39
39
  const std::string &getPath() const