~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/option_context.cc

  • Committer: Patrick Crews
  • Date: 2010-09-14 20:21:03 UTC
  • mto: (1771.1.1 pcrews)
  • mto: This revision was merged to the branch mainline in revision 1772.
  • Revision ID: gleebix@gmail.com-20100914202103-1db2n0bshzafep19
Moved transaction_log tests into updated non-publisher-based tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
/*
80
80
 * Private methods.
81
81
 */
82
 
std::string option_context::prepend_name(std::string in_module_name,
 
82
std::string option_context::prepend_name(std::string module_name,
83
83
                                         const char *name_in)
84
84
{
85
 
  in_module_name.push_back('.');
86
 
  std::transform(in_module_name.begin(), in_module_name.end(),
87
 
                 in_module_name.begin(), SwapUnderscores());
88
 
  std::transform(in_module_name.begin(), in_module_name.end(),
89
 
                 in_module_name.begin(), ::tolower);
90
 
  in_module_name.append(name_in);
91
 
  return in_module_name;
 
85
  module_name.push_back('.');
 
86
  std::transform(module_name.begin(), module_name.end(),
 
87
                 module_name.begin(), SwapUnderscores());
 
88
  std::transform(module_name.begin(), module_name.end(),
 
89
                 module_name.begin(), ::tolower);
 
90
  module_name.append(name_in);
 
91
  return module_name;
92
92
}
93
93
 
94
94