MySQL 9.1.0
Source Code Documentation
|
It reads event_data from an event_data stream and deserialize them to event object. More...
#include <binlog_reader.h>
Public Member Functions | |
Binlog_event_object_istream (Binlog_read_error *error, EVENT_DATA_ISTREAM *istream) | |
Binlog_event_object_istream ()=delete | |
Binlog_event_object_istream (const Binlog_event_object_istream &)=delete | |
Binlog_event_object_istream & | operator= (const Binlog_event_object_istream &)=delete |
template<class ALLOCATOR > | |
Log_event * | read_event_object (const mysql::binlog::event::Format_description_event &fde, bool verify_checksum, ALLOCATOR *allocator) |
Read an event object from the stream. More... | |
Private Attributes | |
Binlog_read_error * | m_error |
It is convenient for caller to share a Binlog_read_error object between streams. More... | |
EVENT_DATA_ISTREAM * | m_data_istream = nullptr |
It reads event_data from an event_data stream and deserialize them to event object.
|
inline |
|
delete |
|
delete |
|
delete |
|
inline |
Read an event object from the stream.
[in] | fde | The Format_description_event for deserialization. |
[in] | verify_checksum | Verify the checksum of the event_data before |
[in] | allocator | It is used to allocate memory for the event data. |
nullptr | Error |
|
private |
|
private |
It is convenient for caller to share a Binlog_read_error object between streams.
So Binlog_read_error pointer is defined here. It should be initialized in constructor by caller.