~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/default_replicator/default_replicator.cc

Re-org'd the replication stuff into slots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
static int init(drizzled::plugin::Registry &registry)
77
77
{
78
78
  default_replicator= new DefaultReplicator();
79
 
  registry.add(default_replicator);
 
79
  registry.command_replicator.add(default_replicator);
80
80
  return 0;
81
81
}
82
82
 
84
84
{
85
85
  if (default_replicator)
86
86
  {
87
 
    registry.remove(default_replicator);
 
87
    registry.command_replicator.remove(default_replicator);
88
88
    delete default_replicator;
89
89
  }
90
90
  return 0;