Skip to content

Commit

Permalink
Move new members of rpl_event structure to the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Oct 11, 2021
1 parent e8fc259 commit 9c64567
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/mariadb_rpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ typedef struct st_mariadb_rpl_event
unsigned int event_length;
unsigned int next_event_pos;
unsigned short flags;
/* Added in C/C 3.3.0 */
uint8_t is_semi_sync;
uint8_t semi_sync_flags;
/****************/
union {
struct st_mariadb_rpl_rotate_event rotate;
Expand All @@ -290,6 +287,9 @@ typedef struct st_mariadb_rpl_event
struct st_mariadb_rpl_rows_event rows;
struct st_mariadb_rpl_heartbeat_event heartbeat;
} event;
/* Added in C/C 3.3.0 */
uint8_t is_semi_sync;
uint8_t semi_sync_flags;
} MARIADB_RPL_EVENT;

#define mariadb_rpl_init(a) mariadb_rpl_init_ex((a), MARIADB_RPL_VERSION)
Expand Down

0 comments on commit 9c64567

Please sign in to comment.