~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replication_services.cc

Adds Session reference to replication API

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
  return is_active;
144
144
}
145
145
 
146
 
plugin::ReplicationReturnCode ReplicationServices::pushTransactionMessage(message::Transaction &to_push)
 
146
plugin::ReplicationReturnCode ReplicationServices::pushTransactionMessage(Session &in_session,
 
147
                                                                          message::Transaction &to_push)
147
148
{
148
149
  vector<plugin::TransactionReplicator *>::iterator repl_iter= replicators.begin();
149
150
  vector<plugin::TransactionApplier *>::iterator appl_start_iter, appl_iter;
174
175
        continue;
175
176
      }
176
177
 
177
 
      result= cur_repl->replicate(cur_appl, to_push);
 
178
      result= cur_repl->replicate(cur_appl, in_session, to_push);
178
179
 
179
180
      if (result == plugin::SUCCESS)
180
181
      {