~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replicator.cc

  • Committer: Brian Aker
  • Date: 2008-12-06 22:41:58 UTC
  • Revision ID: brian@tangent.org-20081206224158-oj4j95n7w0mtxxd1
Completing up replication API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
283
283
 
284
284
  return foreach_rv;
285
285
}
 
286
 
 
287
/*
 
288
  For a ROLLBACK TO SAVEPOINT we make this call.
 
289
*/
 
290
bool replicator_rollback_to_savepoint(Session *, void *)
 
291
{
 
292
  return false;
 
293
}
 
294
 
 
295
/*
 
296
  If somene makes a call to create a savepoint.
 
297
*/
 
298
bool replicator_savepoint_set(Session *, void *)
 
299
{
 
300
  return false;
 
301
}
 
302
 
 
303
/*
 
304
  If you can do real 2PC this is your hook poing to know that the event is coming.
 
305
 
 
306
  Always true for the moment.
 
307
 
 
308
*/
 
309
bool replicator_prepare(Session *)
 
310
{
 
311
  return false;
 
312
}