~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replicator.cc

merge with the latest code from the trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
  /* 
112
112
    call replicator_session_iterate
113
 
    once for each loaded replicator plugin 
 
113
    once for each loaded replicator plugin
114
114
  */
115
115
  foreach_rv= plugin_foreach(session, replicator_session_iterate,
116
116
                             DRIZZLE_REPLICATOR_PLUGIN, NULL);
216
216
  return replicator_do_row(session, &param);
217
217
}
218
218
 
219
 
bool replicator_update_row(Session *session, Table *table, 
220
 
                           const unsigned char *before, 
 
219
bool replicator_update_row(Session *session, Table *table,
 
220
                           const unsigned char *before,
221
221
                           const unsigned char *after)
222
222
{
223
223
  replicator_row_parms_st param;
242
242
  return replicator_do_row(session, &param);
243
243
}
244
244
 
245
 
/* 
 
245
/*
246
246
  Here be Dragons!
247
247
 
248
 
  Ok, not so much dragons, but this is where we handle either commits or rollbacks of 
249
 
  statements. 
 
248
  Ok, not so much dragons, but this is where we handle either commits or rollbacks of
 
249
  statements.
250
250
*/
251
251
typedef struct replicator_row_end_st
252
252
{
280
280
{
281
281
  bool foreach_rv;
282
282
  replicator_row_end_st params;
283
 
  
 
283
 
284
284
  params.autocommit= autocommit;
285
285
  params.commit= commit;
286
286