~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_behavior_set.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:
79
79
   * We don't want the user to have to type in all input in upper
80
80
   * case so we transform the input strings to upper case here.
81
81
   */
82
 
  std::transform(behavior.begin(), behavior.end(),
83
 
                 behavior.begin(), ::toupper);
84
 
  std::transform(setting.begin(), setting.end(),
85
 
                 setting.begin(), ::toupper);
 
82
  boost::to_upper(behavior);
 
83
  boost::to_upper(setting);
86
84
 
87
85
  it_behav= behavior_map.find(behavior);
88
86
  if (it_behav == behavior_map.end())