~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/length/length.cc

  • Committer: Brian Aker
  • Date: 2009-08-11 20:22:59 UTC
  • mfrom: (1093.1.59 captain)
  • Revision ID: brian@gaz-20090811202259-5a92huu2yqmzdx1u
MErge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
Create_function<LengthFunction> lengthudf(string("length"));
65
65
Create_function<LengthFunction> octetlengthudf(string("octet_length"));
66
66
 
67
 
static int initialize(PluginRegistry &registry)
 
67
static int initialize(drizzled::plugin::Registry &registry)
68
68
{
69
69
  registry.add(&lengthudf);
70
70
  registry.add(&octetlengthudf);
71
71
  return 0;
72
72
}
73
73
 
74
 
static int finalize(PluginRegistry &registry)
 
74
static int finalize(drizzled::plugin::Registry &registry)
75
75
{
76
76
   registry.remove(&lengthudf);
77
77
   registry.remove(&octetlengthudf);