~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/plugin/transaction_replicator.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/plugin/transaction_replicator.h>
24
24
#include <drizzled/replication_services.h>
25
25
 
26
 
namespace drizzled
27
 
{
 
26
namespace drizzled {
28
27
 
29
28
bool plugin::TransactionReplicator::addPlugin(plugin::TransactionReplicator *replicator)
30
29
{
31
 
  ReplicationServices &replication_services= ReplicationServices::singleton();
32
 
  replication_services.attachReplicator(replicator);
 
30
  ReplicationServices::attachReplicator(replicator);
33
31
  return false;
34
32
}
35
33
 
36
34
void plugin::TransactionReplicator::removePlugin(plugin::TransactionReplicator *replicator)
37
35
{
38
 
  ReplicationServices &replication_services= ReplicationServices::singleton();
39
 
  replication_services.detachReplicator(replicator);
 
36
  ReplicationServices::detachReplicator(replicator);
40
37
}
41
38
 
42
39
} /* namespace drizzled */