~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/module/loader.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 15:58:22 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024155822-t0k04ojblkqf8v6z
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
    std::replace(it.begin(), it.end(), '-', '_');
207
207
}
208
208
 
209
 
void compose_plugin_add(vector<string> options)
 
209
void compose_plugin_add(const vector<string>& options)
210
210
{
211
211
  compose_plugin_options(opt_plugin_add, options);
212
212
}
213
213
 
214
 
void compose_plugin_remove(vector<string> options)
 
214
void compose_plugin_remove(const vector<string>& options)
215
215
{
216
216
  compose_plugin_options(opt_plugin_remove, options);
217
217
}
218
218
 
219
 
void notify_plugin_load(string in_plugin_load)
 
219
void notify_plugin_load(const string& in_plugin_load)
220
220
{
221
221
  tokenize(in_plugin_load, opt_plugin_load, ",", true);
222
222
}