~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 10:31:37 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323103137-lwevis2tfchgu18u
Propogate return void

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
 
21
#pragma once
21
22
#ifndef create_replication_h
22
23
#define create_replication_h
23
24
 
31
32
 
32
33
#include "read_replication.h"
33
34
 
 
35
#include <drizzled/message/table.pb.h>
 
36
#include <drizzled/table.h>
 
37
#include <drizzled/charset_info.h>
 
38
 
34
39
struct read_replication_state_st {
35
40
  mtr_t mtr;
36
41
  btr_pcur_t pcur;
41
46
UNIV_INTERN ulint dict_create_sys_replication_log(void);
42
47
 
43
48
UNIV_INTERN ulint insert_replication_message(const char *message, size_t size, 
44
 
                                             trx_t *trx, uint64_t trx_id);
 
49
                                             trx_t *trx, uint64_t trx_id, 
 
50
                                             uint64_t end_timestamp, bool is_end_segment,
 
51
                                             uint32_t seg_id);
45
52
 
46
53
UNIV_INTERN struct read_replication_state_st *replication_read_init(void);
47
54
UNIV_INTERN void replication_read_deinit(struct read_replication_state_st *);
48
55
UNIV_INTERN struct read_replication_return_st replication_read_next(struct read_replication_state_st *);
49
56
 
 
57
UNIV_INTERN int read_replication_log_table_message(const char* table_name, drizzled::message::Table *table_message);
 
58
 
 
59
UNIV_INTERN void convert_to_mysql_format(byte* out, const byte* in, int len);
 
60
 
50
61
#endif