diff --git a/sql/log_event.cc b/sql/log_event.cc index 917e79b86f2..a10a36f3b43 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -9250,7 +9250,7 @@ Incident_log_event::Incident_log_event(const char *buf, uint event_len, // If the incident is not recognized, this binlog event is // invalid. If we set incident_number to INCIDENT_NONE, the // invalidity will be detected by is_valid(). - incident_number= INCIDENT_NONE; + m_incident= INCIDENT_NONE; DBUG_VOID_RETURN; } m_incident= static_cast(incident_number);