~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication_services.cc

  • Committer: Mark Atwood
  • Date: 2011-07-13 22:28:29 UTC
  • mfrom: (2318.7.25 refactor1)
  • Revision ID: me@mark.atwood.name-20110713222829-sswp061b5ts7tc1k
mergeĀ lp:~olafvdspek/drizzle/refactor1

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
   */
79
79
static void normalizeReplicatorName(string &name)
80
80
{
81
 
  transform(name.begin(), name.end(), name.begin(), ::tolower);
 
81
  boost::to_lower(name);
82
82
  if (name.find("replicator") == string::npos)
83
 
    name.append("replicator", 10);
 
83
    name.append("replicator");
84
84
  {
85
85
    size_t found_underscore= name.find('_');
86
86
    while (found_underscore != string::npos)