~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_stats/memcached_stats.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:
76
76
  return 0;
77
77
}
78
78
 
79
 
/**
80
 
 * Clean up the memcached stats plugin.
81
 
 *
82
 
 * @param[in] registry the drizzled::plugin::Registry singleton
83
 
 * @return false on success; true on failure
84
 
 */
85
 
static int deinit(plugin::Context &context)
86
 
{
87
 
  context.remove(stats_table_tool);
88
 
  delete stats_table_tool;
89
 
  context.remove(analysis_table_tool);
90
 
  delete analysis_table_tool;
91
 
  return 0;
92
 
}
93
 
 
94
79
static int check_memc_servers(Session *,
95
80
                              drizzle_sys_var *,
96
81
                              void *save,
147
132
  N_("Memcached Stats as I_S tables"),
148
133
  PLUGIN_LICENSE_BSD,
149
134
  init,   /* Plugin Init      */
150
 
  deinit, /* Plugin Deinit    */
151
135
  system_variables, /* system variables */
152
136
  NULL    /* config options   */
153
137
}