~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/transaction_replicator.cc

  • Committer: Brian Aker
  • Date: 2009-12-03 04:18:00 UTC
  • mto: (1237.3.3 push)
  • mto: This revision was merged to the branch mainline in revision 1238.
  • Revision ID: brian@gaz-20091203041800-rxbans14m0bo0xcs
Final move of index flags up to Engine (new interface still needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include "drizzled/global.h"
21
21
 
22
22
#include "drizzled/plugin/plugin.h"
23
23
#include "drizzled/plugin/transaction_replicator.h"
24
24
#include "drizzled/replication_services.h"
25
25
 
 
26
using namespace std;
 
27
 
26
28
namespace drizzled
27
29
{
28
30
 
29
31
bool plugin::TransactionReplicator::addPlugin(plugin::TransactionReplicator *replicator)
30
32
{
31
33
  ReplicationServices &replication_services= ReplicationServices::singleton();
 
34
  /** @TODO ReplicationServices should indicate error in some way here */
32
35
  replication_services.attachReplicator(replicator);
33
36
  return false;
34
37
}