My Project
Public Member Functions
Incident_log_event Class Reference

#include <log_event.h>

Inheritance diagram for Incident_log_event:
Log_event

List of all members.

Public Member Functions

 Incident_log_event (const char *buf, uint event_len, const Format_description_log_event *descr_event)
virtual bool write_data_header (IO_CACHE *file)
virtual bool write_data_body (IO_CACHE *file)
virtual Log_event_type get_type_code ()
virtual bool is_valid () const
virtual int get_data_size ()

Detailed Description

Class representing an incident, an occurance out of the ordinary, that happened on the master.

The event is used to inform the slave that something out of the ordinary happened on the master that might cause the database to be in an inconsistent state.

Incident event format
Symbol Format Description
INCIDENT 2 Incident number as an unsigned integer
MSGLEN 1 Message length as an unsigned integer
MESSAGE MSGLEN The message, if present. Not null terminated.

Binary Format


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines