~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/create_replication.h

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#include "read_replication.h"
33
33
 
 
34
#include "drizzled/message/table.pb.h"
 
35
#include "drizzled/table.h"
 
36
#include "drizzled/charset_info.h"
 
37
 
34
38
struct read_replication_state_st {
35
39
  mtr_t mtr;
36
40
  btr_pcur_t pcur;
41
45
UNIV_INTERN ulint dict_create_sys_replication_log(void);
42
46
 
43
47
UNIV_INTERN ulint insert_replication_message(const char *message, size_t size, 
44
 
                                             trx_t *trx, uint64_t trx_id,
 
48
                                             trx_t *trx, uint64_t trx_id, 
 
49
                                             uint64_t end_timestamp, bool is_end_segment,
45
50
                                             uint32_t seg_id);
46
51
 
47
52
UNIV_INTERN struct read_replication_state_st *replication_read_init(void);
48
53
UNIV_INTERN void replication_read_deinit(struct read_replication_state_st *);
49
54
UNIV_INTERN struct read_replication_return_st replication_read_next(struct read_replication_state_st *);
50
55
 
 
56
UNIV_INTERN int read_replication_log_table_message(const char* table_name, drizzled::message::Table *table_message);
 
57
 
 
58
UNIV_INTERN void convert_to_mysql_format(byte* out, const byte* in, int len);
 
59
 
51
60
#endif