~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/replicator.h

  • Committer: Monty Taylor
  • Date: 2008-12-06 23:17:26 UTC
  • mfrom: (664 drizzle)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: monty@inaugust.com-20081206231726-ut9ntnazs3rega56
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
/* todo, fill in this API */
29
29
/* these are the functions called by the rest of the drizzle server
30
30
   to do whatever this plugin does. */
31
 
bool replicator_do1 (Session *session, void *parm1, void *parm2);
32
 
bool replicator_do2 (Session *session, void *parm3, void *parm4);
 
31
bool replicator_session_init (Session *session);
 
32
bool replicator_write_row(Session *session, Table *table);
 
33
bool replicator_update_row(Session *session, Table *table, 
 
34
                           const unsigned char *before, 
 
35
                           const unsigned char *after);
 
36
bool replicator_delete_row(Session *session, Table *table);
 
37
 
 
38
/* The below control transactions */
 
39
bool replicator_end_transaction(Session *session, bool autocommit, bool commit);
 
40
bool replicator_rollback_to_savepoint(Session *session, void *save_point);
 
41
bool replicator_savepoint_set(Session *session, void *save_point);
 
42
bool replicator_prepare(Session *session);
33
43
 
34
44
#endif /* DRIZZLED_REPLICATOR_H */