~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_mysql.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 18:15:41 UTC
  • mto: This revision was merged to the branch mainline in revision 2384.
  • Revision ID: olafvdspek@gmail.com-20110705181541-t5gdqo5ilg64jac6
Use boost::to_upper

Show diffs side-by-side

added added

removed removed

Lines of Context:
382
382
    old_type.erase(pos, std::string::npos);
383
383
  }
384
384
 
385
 
  std::transform(old_type.begin(), old_type.end(), old_type.begin(), ::toupper);
 
385
  boost::to_upper(old_type);
386
386
  if ((old_type.find("CHAR") != std::string::npos) or 
387
387
    (old_type.find("TEXT") != std::string::npos))
388
388
    setCollate(raw_collation);