~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/uuid_function/uuid_function.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:
70
70
  return 0;
71
71
}
72
72
 
73
 
static int finalize(drizzled::plugin::Context &context)
74
 
{
75
 
   context.remove(uuid_function);
76
 
   delete uuid_function;
77
 
   return 0;
78
 
}
79
 
 
80
73
DRIZZLE_DECLARE_PLUGIN
81
74
{
82
75
  DRIZZLE_VERSION_ID,
86
79
  "UUID() function using libuuid",
87
80
  PLUGIN_LICENSE_GPL,
88
81
  initialize, /* Plugin Init */
89
 
  finalize,   /* Plugin Deinit */
90
82
  NULL,   /* system variables */
91
83
  NULL    /* config options */
92
84
}