~mysqlatfacebook/mysqlatfacebook/tools

« back to all changes in this revision

Viewing changes to faker/binlog.h

  • Committer: Domas Mituzas
  • Date: 2013-04-22 04:08:55 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: domas@fb.com-20130422040855-zcmp44juphhixcr8
* Handle end-of-file better
* Handle reconnects better
* Add more configuration options
* Support MySQL 5.6 checksummed binlog format

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#pragma pack(1)
33
33
struct FDE {
34
 
    guint32 magic;
35
34
    guint32 timestamp;
36
35
    guint8 event_type;
37
36
    guint32 server_id;
77
76
    guint64 last_insert_id;
78
77
    void *buffer;
79
78
    void *vbuffer;
 
79
    guint8 *header_lengths;
 
80
    int header_lengths_length;
 
81
    int checksum_algo;
 
82
    int checksum_size;
80
83
} BINLOG;
81
84
 
82
85
typedef struct {