~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/default_replicator/default_replicator.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:
80
80
  return 0;
81
81
}
82
82
 
83
 
static int deinit(plugin::Context &context)
84
 
{
85
 
  if (default_replicator)
86
 
  {
87
 
    context.remove(default_replicator);
88
 
    delete default_replicator;
89
 
  }
90
 
  return 0;
91
 
}
92
 
 
93
83
static DRIZZLE_SYSVAR_BOOL(
94
84
  enable,
95
85
  sysvar_default_replicator_enable,
113
103
  N_("Default Replicator"),
114
104
  PLUGIN_LICENSE_GPL,
115
105
  init, /* Plugin Init */
116
 
  deinit, /* Plugin Deinit */
117
106
  default_replicator_system_variables, /* system variables */
118
107
  NULL    /* config options */
119
108
}