![]() |
MySQL 8.0.43
Source Code Documentation
|
Go to the source code of this file.
Classes | |
| class | Default_binlog_event_allocator |
| class | Binlog_event_data_istream |
| Binlog_event_data_istream fetches byte data from Basic_istream and divides them into event_data chunk according to the format. More... | |
| class | Binlog_event_object_istream< EVENT_DATA_ISTREAM > |
| It reads event_data from an event_data stream and deserialize them to event object. More... | |
| class | IBasic_binlog_file_reader |
| Interface class that all specializations of template <...> Basic_binlog_file_reader inherit from. More... | |
| class | Basic_binlog_file_reader< IFILE, EVENT_DATA_ISTREAM, EVENT_OBJECT_ISTREAM, ALLOCATOR > |
| It owns an allocator, a byte stream, an event_data stream and an event object stream. More... | |
Functions | |
| 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. More... | |
| typedef Basic_binlog_file_reader<Binlog_ifile, Binlog_event_data_istream, Binlog_event_object_istream, Default_binlog_event_allocator> Binlog_file_reader |
| typedef Basic_binlog_file_reader<Relaylog_ifile, Binlog_event_data_istream, Binlog_event_object_istream, Default_binlog_event_allocator> Relaylog_file_reader |
| 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 |