Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
replication_log.cc
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
*
4
* Copyright (C) 2010 Brian Aker
5
*
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.
10
*
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.
15
*
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
19
*/
20
21
#include <config.h>
22
23
#include <plugin/innobase/handler/replication_log.h>
24
25
#include <vector>
26
27
#include <drizzled/message/transaction.pb.h>
28
#include <drizzled/util/functors.h>
29
#include <drizzled/session.h>
30
31
/* Include necessary InnoDB headers */
32
#include "univ.i"
33
#include "
btr0sea.h
"
34
#include "
os0file.h
"
35
#include "
os0thread.h
"
36
#include "
srv0start.h
"
37
#include "
srv0srv.h
"
38
#include "
trx0roll.h
"
39
#include "
trx0trx.h
"
40
#include "
trx0sys.h
"
41
#include "
mtr0mtr.h
"
42
#include "
row0ins.h
"
43
#include "
row0mysql.h
"
44
#include "
row0sel.h
"
45
#include "
row0upd.h
"
46
#include "
log0log.h
"
47
#include "
lock0lock.h
"
48
#include "
dict0crea.h
"
49
#include "create_replication.h"
50
#include "
btr0cur.h
"
51
#include "
btr0btr.h
"
52
#include "
fsp0fsp.h
"
53
#include "
sync0sync.h
"
54
#include "
fil0fil.h
"
55
#include "trx0xa.h"
56
#include "
row0merge.h
"
57
#include "
dict0boot.h
"
58
#include "
ha_prototypes.h
"
59
#include "
ut0mem.h
"
60
#include "
ibuf0ibuf.h
"
61
62
using namespace
std;
63
using namespace
drizzled;
64
65
ReplicationLog::ReplicationLog() :
66
drizzled::plugin::TransactionApplier(
"INNOBASE_REPLICATION_LOGGER"
)
67
{
68
}
69
70
void
ReplicationLog::setup(
ReplicationLog
*logger,
const
std::string& arg)
71
{
72
ReplicationServices::attachApplier(logger, arg);
73
}
plugin
innobase
handler
replication_log.cc
Generated on Thu Aug 29 2013 10:00:32 for drizzle by
1.8.4