Drizzled Public API Documentation

default_replicator.cc File Reference
#include <config.h>
#include <drizzled/plugin.h>
#include <drizzled/gettext.h>
#include <drizzled/plugin/transaction_applier.h>
#include "default_replicator.h"
#include <vector>
#include <string>

Go to the source code of this file.

Functions

static int init (module::Context &context)
 

Variables

static DefaultReplicatordefault_replicator = NULL
 
 DRIZZLE_DECLARE_PLUGIN
 

Detailed Description

Defines the implementation of the default replicator.

See Also
drizzled/plugin/transaction_replicator.h
drizzled/plugin/transaction_applier.h

This is a very simple implementation. All we do is pass along the event to the supplier. This is meant as a skeleton replicator only.

Definition in file default_replicator.cc.

Variable Documentation

DRIZZLE_DECLARE_PLUGIN
Initial value:
{
DRIZZLE_VERSION_ID,
"default_replicator",
"1.0",
"Jay Pipes",
N_("Replicates all write events to all appliers"),
PLUGIN_LICENSE_GPL,
init,
NULL,
NULL,
}
DRIZZLE_DECLARE_PLUGIN_END

Definition at line 70 of file default_replicator.cc.