My Project
|
#include <log_event.h>
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 () |
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.
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. |