~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/transaction_applier.cc

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "drizzled/global.h"
21
21
 
22
22
#include "drizzled/replication_services.h"
23
 
#include "drizzled/plugin/command_applier.h"
 
23
#include "drizzled/plugin/transaction_applier.h"
24
24
 
25
25
using namespace std;
26
26
 
27
27
namespace drizzled
28
28
{
29
29
 
30
 
bool plugin::CommandApplier::addPlugin(plugin::CommandApplier *applier)
 
30
bool plugin::TransactionApplier::addPlugin(plugin::TransactionApplier *applier)
31
31
{
32
32
  ReplicationServices &replication_services= ReplicationServices::singleton();
33
33
  /** @TODO ReplicationServices should indicate error in some way here */
35
35
  return false;
36
36
}
37
37
 
38
 
void plugin::CommandApplier::removePlugin(plugin::CommandApplier *applier)
 
38
void plugin::TransactionApplier::removePlugin(plugin::TransactionApplier *applier)
39
39
{
40
40
  ReplicationServices &replication_services= ReplicationServices::singleton();
41
41
  replication_services.detachApplier(applier);