diff --git a/server/modules/routing/binlog/blr_master.c b/server/modules/routing/binlog/blr_master.c index 90d5e1717..94c9b9632 100644 --- a/server/modules/routing/binlog/blr_master.c +++ b/server/modules/routing/binlog/blr_master.c @@ -976,7 +976,7 @@ uint32_t partialpos = 0; break; } - else + else if ((hdr.event_size + 1) >= MYSQL_PACKET_LENGTH_MAX) { MXS_INFO("Transmission of event > 16MB"); router->master_event_state = BLR_EVENT_STARTED;