mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix two small problems in previous push.
This commit is contained in:
@ -4970,9 +4970,9 @@ static int queue_event(Master_info* mi,const char* buf, ulong event_len)
|
|||||||
(If we queued such an event, and it was the first format_description
|
(If we queued such an event, and it was the first format_description
|
||||||
event after master restart, the slave SQL thread would think that
|
event after master restart, the slave SQL thread would think that
|
||||||
the partial event group before it in the relay log was from a
|
the partial event group before it in the relay log was from a
|
||||||
previous master crash and should be rolled back.
|
previous master crash and should be rolled back).
|
||||||
*/
|
*/
|
||||||
if (unlikely(mi->gtid_reconnect_event_skip_count))
|
if (unlikely(mi->gtid_reconnect_event_skip_count && !mi->gtid_event_seen))
|
||||||
gtid_skip_enqueue= true;
|
gtid_skip_enqueue= true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -32,7 +32,7 @@ typedef struct st_slave_info
|
|||||||
THD* thd;
|
THD* thd;
|
||||||
} SLAVE_INFO;
|
} SLAVE_INFO;
|
||||||
|
|
||||||
class slave_connection_state;
|
struct slave_connection_state;
|
||||||
|
|
||||||
extern my_bool opt_show_slave_auth_info;
|
extern my_bool opt_show_slave_auth_info;
|
||||||
extern char *master_host, *master_info_file;
|
extern char *master_host, *master_info_file;
|
||||||
|
Reference in New Issue
Block a user