~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_stats/memcached_stats.cc

Made a bunch of smaler plugins dynamic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 * THE POSSIBILITY OF SUCH DAMAGE.
28
28
 */
29
29
 
30
 
#include "config.h"
 
30
#include "drizzled/server_includes.h"
31
31
#include "drizzled/show.h"
32
32
#include "drizzled/gettext.h"
33
33
#include "drizzled/plugin/info_schema_table.h"
137
137
  memcached_stats_table= new(std::nothrow) plugin::InfoSchemaTable("MEMCACHED_STATS",
138
138
                                                           memcached_stats_columns,
139
139
                                                           -1, -1, false, false, 0,
140
 
                                                           memcached_stats_methods,
141
 
                                                           "MEMCACHED_STATS");
 
140
                                                           memcached_stats_methods);
142
141
  if (! memcached_stats_table)
143
142
  {
144
143
    return true;
148
147
    new(std::nothrow) plugin::InfoSchemaTable("MEMCACHED_ANALYSIS",
149
148
                                      memcached_analysis_columns,
150
149
                                      -1, -1, false, false, 0,
151
 
                                      memcached_analysis_methods,
152
 
                                      "MEMCACHED_STATS");
 
150
                                      memcached_analysis_methods);
153
151
  if (! memcached_analysis_table)
154
152
  {
155
153
    return true;
267
265
 
268
266
DRIZZLE_DECLARE_PLUGIN
269
267
{
270
 
  DRIZZLE_VERSION_ID,
271
268
  "memcached_stats",
272
269
  "1.0",
273
270
  "Padraig O'Sullivan",