~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/length/length.cc

  • Committer: Monty Taylor
  • Date: 2010-03-06 02:08:13 UTC
  • mto: This revision was merged to the branch mainline in revision 1381.
  • Revision ID: mordred@inaugust.com-20100306020813-c37d0b39004nl1zf
Remove plugin deinit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  return 0;
75
75
}
76
76
 
77
 
static int finalize(drizzled::plugin::Context &context)
78
 
{
79
 
   context.remove(lengthudf);
80
 
   context.remove(octet_lengthudf);
81
 
   delete lengthudf;
82
 
   delete octet_lengthudf;
83
 
   return 0;
84
 
}
85
 
 
86
77
DRIZZLE_DECLARE_PLUGIN
87
78
{
88
79
  DRIZZLE_VERSION_ID,
92
83
  "Return the byte length of a string",
93
84
  PLUGIN_LICENSE_GPL,
94
85
  initialize, /* Plugin Init */
95
 
  finalize,   /* Plugin Deinit */
96
86
  NULL,   /* system variables */
97
87
  NULL    /* config options */
98
88
}