~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

  • Committer: Brian Aker
  • Date: 2009-10-02 19:38:12 UTC
  • mfrom: (1152.1.7 merge)
  • Revision ID: brian@gaz-20091002193812-mpd61oecep74t6gd
Merge Monty + Brian for plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
static int initialize(plugin::Registry &registry)
121
121
{
122
122
  benchmarkudf= new plugin::Create_function<BenchmarkFunction>("benchmark");
123
 
  registry.function.add(benchmarkudf);
 
123
  registry.add(benchmarkudf);
124
124
  return 0;
125
125
}
126
126
 
127
127
static int finalize(plugin::Registry &registry)
128
128
{
129
 
   registry.function.remove(benchmarkudf);
 
129
   registry.remove(benchmarkudf);
130
130
   delete benchmarkudf;
131
131
   return 0;
132
132
}