#include <config.h>#include <drizzled/gettext.h>#include <drizzled/plugin/transaction_applier.h>#include <drizzled/message/transaction.pb.h>#include <drizzled/plugin.h>#include <drizzled/item/string.h>#include "filtered_replicator.h"#include <boost/program_options.hpp>#include <drizzled/module/option_map.h>#include <vector>#include <string>Go to the source code of this file.
Functions | |
| static int | drizzle_plugin::filtered_schemas_validate (Session *, set_var *var) |
| static int | drizzle_plugin::filtered_tables_validate (Session *, set_var *var) |
| static int | drizzle_plugin::init (drizzled::module::Context &context) |
| Add query_log plugin to Drizzle and initalize query_log system variables. | |
| static void | drizzle_plugin::init_options (drizzled::module::option_context &context) |
| Initialize query-log command line options. | |
Defines the implementation of a simple replicator that can filter events based on a schema or table name.
This is a very simple implementation. All we do is maintain two std::vectors:
1) contains all the schema names to filter 2) contains all the table names to filter
If an event is on a schema or table in the vectors described above, then the event will not be passed along to the applier.
Definition in file filtered_replicator.cc.