24#ifndef TRANSACTION_PREPARED_MESSAGE_INCLUDED
25#define TRANSACTION_PREPARED_MESSAGE_INCLUDED
80 const unsigned char *
end)
override;
This is the base GCS plugin message.
Definition: gcs_plugin_messages.h:64
Definition: transaction_prepared_message.h:36
void encode_payload(std::vector< unsigned char > *buffer) const override
Encodes the contents of this instance payload into the buffer.
Definition: transaction_prepared_message.cc:47
~Transaction_prepared_message() override
void decode_payload(const unsigned char *buffer, const unsigned char *end) override
Decodes the contents of the buffer and sets the payload field values according to the values decoded.
Definition: transaction_prepared_message.cc:60
Transaction_prepared_message(const rpl_sid *sid, rpl_gno gno)
Message constructor.
Definition: transaction_prepared_message.cc:27
enum_payload_item_type
Definition: transaction_prepared_message.h:38
@ PIT_MAX
Definition: transaction_prepared_message.h:50
@ PIT_UNKNOWN
Definition: transaction_prepared_message.h:40
@ PIT_TRANSACTION_PREPARED_GNO
Definition: transaction_prepared_message.h:43
@ PIT_TRANSACTION_PREPARED_SID
Definition: transaction_prepared_message.h:47
rpl_gno get_gno()
Definition: transaction_prepared_message.cc:92
rpl_gno m_gno
Definition: transaction_prepared_message.h:85
const rpl_sid * get_sid()
Definition: transaction_prepared_message.cc:88
bool m_sid_specified
Definition: transaction_prepared_message.h:83
rpl_sid m_sid
Definition: transaction_prepared_message.h:84
Some integer typedefs for easier portability.
Definition: buf0block_hint.cc:30
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:420
Cursor end()
A past-the-end Cursor.
Definition: rules_table_service.cc:192
binary_log::gtids::gno_t rpl_gno
GNO, the second (numeric) component of a GTID, is an alias of binary_log::gtids::gno_t.
Definition: rpl_gtid.h:103
This is a POD.
Definition: uuid.h:61