Bug #31624 Master does not check whether replication event types are valid
Submitted: 16 Oct 2007 1:24 Modified: 25 Oct 2007 7:38
Reporter: Mark Callaghan Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Replication Severity:S4 (Feature request)
Version:5.0.37 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: Event, master, replication, valid

[16 Oct 2007 1:24] Mark Callaghan
Description:
The master does not check whether the Log_event_type of a binlog event is valid before sending it to the slave.

How to repeat:
Corrupt the bytes in the binlog that store the event type.

Suggested fix:
Add a function is_valid_event() that determine whether the event type for a replication event is valid. Call that function before sending the data to a slave.
[25 Oct 2007 7:38] Valeriy Kravchuk
Thank you for a reasonable feature request.