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);
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);
34
44
#endif /* DRIZZLED_REPLICATOR_H */