~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/errmsg_stderr/errmsg_stderr.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:
63
63
  return 0;
64
64
}
65
65
 
66
 
static int errmsg_stderr_plugin_deinit(plugin::Context &context)
67
 
{
68
 
 
69
 
  if (handler)
70
 
  {
71
 
    context.remove(handler);
72
 
    delete handler;
73
 
  }
74
 
  return 0;
75
 
}
76
 
 
77
66
DRIZZLE_DECLARE_PLUGIN
78
67
{
79
68
  DRIZZLE_VERSION_ID,
83
72
  N_("Error Messages to stderr"),
84
73
  PLUGIN_LICENSE_GPL,
85
74
  errmsg_stderr_plugin_init,
86
 
  errmsg_stderr_plugin_deinit,
87
75
  NULL, /* system variables */
88
76
  NULL
89
77
}