MySQL 8.0.40
Source Code Documentation
|
Functions | |
static void | debug_corrupt_event (unsigned char *buffer, unsigned int event_len) |
Binlog_read_error::Error_type | binlog_event_deserialize (const unsigned char *buffer, unsigned int event_len, const Format_description_event *fde, bool verify_checksum, Log_event **event) |
Deserialize a binlog event from event_data. More... | |
Binlog_read_error::Error_type binlog_event_deserialize | ( | const unsigned char * | event_data, |
unsigned int | event_data_len, | ||
const Format_description_event * | fde, | ||
bool | verify_checksum, | ||
Log_event ** | event | ||
) |
Deserialize a binlog event from event_data.
event_data is serialized event object. It is a chunk of data in buffer.
[in] | event_data | The event data used for deserialization. |
[in] | event_data_len | Length of event_data |
[in] | fde | The format_description_event of the event |
[in] | verify_checksum | Verify event_data's checksum if it is true. |
[out] | event | the event object generated. |
Binlog_read_error::SUCCESS | Success |
Other | than Binlog_read_error::SUCCESS Error |
|
static |