24#ifndef MYSQL_CSA_RELAY_LOG_CACHED_EVENT_H
25#define MYSQL_CSA_RELAY_LOG_CACHED_EVENT_H
46 std::shared_ptr<Log_event>
decode()
override;
Implementation of the IReader_event which contains a cached, decoded event.
Definition: cached_event.h:35
char * orig_buf
Definition: cached_event.h:55
std::shared_ptr< Log_event > m_data
Internal data - cached event.
Definition: cached_event.h:54
Cached_event(const std::shared_ptr< Log_event > &ev)
Is constructed using Log_event.
Definition: cached_event.cpp:30
virtual ~Cached_event() override=default
Destructor.
void reset(const Format_description_log_event *fde) override
Resets event state.
Definition: cached_event.cpp:39
std::shared_ptr< Log_event > decode() override
Decode function, which obtains Log event smart pointer.
Definition: cached_event.cpp:37
Interface for abstract event data returned by the reader, which can be decoded into a log event using...
Definition: ireader_event.h:38
Binary log event definitions.
Definition: channel.cpp:28