~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/charlength/charlength.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:
75
75
  return 0;
76
76
}
77
77
 
78
 
static int finalize(drizzled::plugin::Context &context)
79
 
{
80
 
   context.remove(charlengthudf);
81
 
   context.remove(characterlengthudf);
82
 
   delete charlengthudf;
83
 
   delete characterlengthudf;
84
 
   return 0;
85
 
}
86
 
 
87
78
DRIZZLE_DECLARE_PLUGIN
88
79
{
89
80
  DRIZZLE_VERSION_ID,
93
84
  "Return the number of characters in a string",
94
85
  PLUGIN_LICENSE_GPL,
95
86
  initialize, /* Plugin Init */
96
 
  finalize,   /* Plugin Deinit */
97
87
  NULL,   /* system variables */
98
88
  NULL    /* config options */
99
89
}