~linuxjedi/drizzle/usability-cli-port

« back to all changes in this revision

Viewing changes to drizzled/plugin_replicator.h

  • Committer: Brian Aker
  • Date: 2008-12-08 06:44:37 UTC
  • Revision ID: brian@tangent.org-20081208064437-cxc5pfg0vu9f13rd
Partial fix (more of replication flushed out)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
     if a function pointer is NULL, that's ok.
34
34
  */
35
35
 
36
 
  void *(*session_init)(Session *session);
 
36
  bool (*session_init)(Session *session);
37
37
  bool (*row_insert)(Session *session, Table *table);
38
38
  bool (*row_update)(Session *session, Table *table, 
39
39
                     const unsigned char *before, 
40
40
                     const unsigned char *after);
41
41
  bool (*row_delete)(Session *session, Table *table);
42
42
  bool (*end_transaction)(Session *session, bool autocommit, bool commit);
 
43
  bool (*statement)(Session *session, const char *query, size_t query_length);
43
44
} replicator_t;
44
45
 
45
46
#endif /* DRIZZLED_PLUGIN_REPLICATOR_H */