~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzleslap.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:
100
100
/* Added this for string translation. */
101
101
#include <drizzled/gettext.h>
102
102
 
 
103
#include <boost/algorithm/string.hpp>
103
104
#include <boost/thread.hpp>
104
105
#include <boost/thread/mutex.hpp>
105
106
#include <boost/thread/condition_variable.hpp>
611
612
 
612
613
    if (vm.count("protocol"))
613
614
    {
614
 
      std::transform(opt_protocol.begin(), opt_protocol.end(),
615
 
        opt_protocol.begin(), ::tolower);
616
 
 
 
615
      boost::to_lower(opt_protocol);
617
616
      if (not opt_protocol.compare("mysql"))
618
617
        use_drizzle_protocol=false;
619
618
      else if (not opt_protocol.compare("drizzle"))