mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
This commit is contained in:
@ -1933,11 +1933,8 @@ send_event_to_slave(binlog_send_info *info, Log_event_type event_type,
|
||||
*/
|
||||
if (info->thd->variables.option_bits & OPTION_SKIP_REPLICATION)
|
||||
{
|
||||
/*
|
||||
The first byte of the packet is a '\0' to distinguish it from an error
|
||||
packet. So the actual event starts at offset +1.
|
||||
*/
|
||||
uint16 event_flags= uint2korr(&((*packet)[FLAGS_OFFSET+1]));
|
||||
uint16 event_flags= uint2korr(&((*packet)[FLAGS_OFFSET + ev_offset]));
|
||||
|
||||
if (event_flags & LOG_EVENT_SKIP_REPLICATION_F)
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user