~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/transaction_replicator.cc

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "drizzled/global.h"
21
21
 
22
22
#include "drizzled/plugin/plugin.h"
23
 
#include "drizzled/plugin/command_replicator.h"
 
23
#include "drizzled/plugin/transaction_replicator.h"
24
24
#include "drizzled/replication_services.h"
25
25
 
26
26
using namespace std;
28
28
namespace drizzled
29
29
{
30
30
 
31
 
bool plugin::CommandReplicator::addPlugin(plugin::CommandReplicator *replicator)
 
31
bool plugin::TransactionReplicator::addPlugin(plugin::TransactionReplicator *replicator)
32
32
{
33
33
  ReplicationServices &replication_services= ReplicationServices::singleton();
34
34
  /** @TODO ReplicationServices should indicate error in some way here */
36
36
  return false;
37
37
}
38
38
 
39
 
void plugin::CommandReplicator::removePlugin(plugin::CommandReplicator *replicator)
 
39
void plugin::TransactionReplicator::removePlugin(plugin::TransactionReplicator *replicator)
40
40
{
41
41
  ReplicationServices &replication_services= ReplicationServices::singleton();
42
42
  replication_services.detachReplicator(replicator);
43
43
}
44
44
 
45
 
}
 
45
} /* namespace drizzled */