1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2010 Brian Aker
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
#include <plugin/innobase/handler/replication_log.h>
27
#include <drizzled/message/transaction.pb.h>
28
#include <drizzled/util/functors.h>
29
#include <drizzled/session.h>
31
/* Include necessary InnoDB headers */
35
#include "os0thread.h"
36
#include "srv0start.h"
43
#include "row0mysql.h"
47
#include "lock0lock.h"
48
#include "dict0crea.h"
49
#include "create_replication.h"
53
#include "sync0sync.h"
56
#include "row0merge.h"
58
#include "dict0boot.h"
59
#include "ha_prototypes.h"
61
#include "ibuf0ibuf.h"
64
using namespace drizzled;
66
ReplicationLog::ReplicationLog() :
67
drizzled::plugin::TransactionApplier("INNOBASE_REPLICATION_LOGGER")
71
void ReplicationLog::setup(ReplicationLog *logger)
73
ReplicationServices::attachApplier(logger, "default");