drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
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>
Include dependency graph for default_replicator.cc:

Go to the source code of this file.

Functions

static int init (module::Context &context)

Variables

static DefaultReplicator * default_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.

Function Documentation

◆ init()

int init ( module::Context & context)
static

Definition at line 62 of file default_replicator.cc.

Variable Documentation

◆ default_replicator

DefaultReplicator* default_replicator = NULL
static

Definition at line 60 of file default_replicator.cc.

◆ DRIZZLE_DECLARE_PLUGIN

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 69 of file default_replicator.cc.