~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/benchmark/benchmarkudf.cc

Merge with trunk

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
}