32 #include <drizzled/gettext.h>
33 #include <boost/program_options.hpp>
35 #include "stats_table.h"
36 #include "analysis_table.h"
37 #include "sysvar_holder.h"
42 namespace po=boost::program_options;
44 namespace drizzle_plugin
51 static AnalysisTableTool *analysis_table_tool;
53 static StatsTableTool *stats_table_tool;
58 static std::string sysvar_memcached_servers;
72 context.add(stats_table_tool);
75 context.add(analysis_table_tool);
78 sysvar_memcached_servers));
86 po::value<std::string>()->default_value(
""),
87 _(
"List of memcached servers."));
92 DRIZZLE_DECLARE_PLUGIN
98 N_(
"Dictionary of memcached statistics"),
104 DRIZZLE_DECLARE_PLUGIN_END;
static void init_options(drizzled::module::option_context &context)
Initialize query-log command line options.
An Proxy Wrapper around boost::program_options::variables_map.
static int init(drizzled::module::Context &context)
Add query_log plugin to Drizzle and initalize query_log system variables.