24#ifndef MYSQL_CSA_MANAGED_EVENT_H
25#define MYSQL_CSA_MANAGED_EVENT_H
56 explicit operator bool() const
noexcept;
Managed event.
Definition: managed_event.h:35
bool is_last_in_transaction() const
Returns whether this fetched event is the last event of transaction.
Definition: managed_event.cpp:46
bool m_is_last_in_transaction
True if this fetched event is the transaction terminal event.
Definition: managed_event.h:62
Log_event_ptr m_event
Internal event pointer.
Definition: managed_event.h:60
Managed_event()=default
Construct.
std::shared_ptr< Log_event > Log_event_ptr
Definition: managed_event.h:37
Log_event_ptr & get_event()
Internal event accessor.
Definition: managed_event.cpp:36
void set_last_in_transaction(bool is_last)
Marks whether this fetched event is the last event of transaction.
Definition: managed_event.cpp:42
Binary log event definitions.
Definition: channel.cpp:28
noexcept
The return type for any call_and_catch(f, args...) call where f(args...) returns Type.
Definition: call_and_catch.h:76