#include <rows_event.h>
◆ Extra_row_info() [1/2]
binary_log::Rows_event::Extra_row_info::Extra_row_info |
( |
| ) |
|
|
inline |
◆ Extra_row_info() [2/2]
binary_log::Rows_event::Extra_row_info::Extra_row_info |
( |
const Extra_row_info & |
| ) |
|
|
delete |
◆ ~Extra_row_info()
binary_log::Rows_event::Extra_row_info::~Extra_row_info |
( |
| ) |
|
◆ compare_extra_row_info()
bool binary_log::Rows_event::Extra_row_info::compare_extra_row_info |
( |
const unsigned char * |
ndb_info_arg, |
|
|
int |
part_id_arg, |
|
|
int |
source_part_id |
|
) |
| |
Compares the extra_row_info in a Row event, it checks three things.
- The m_extra_row_ndb_info pointers. It compares their significant bytes.
- Partition_id
- source_partition_id
- Returns
- true all the above variables are same in the event and the one passed in parameter. false Any of the above variable has a different value.
◆ get_ndb_info()
unsigned char * binary_log::Rows_event::Extra_row_info::get_ndb_info |
( |
| ) |
const |
|
inline |
◆ get_ndb_length()
size_t binary_log::Rows_event::Extra_row_info::get_ndb_length |
( |
| ) |
|
◆ get_part_length()
size_t binary_log::Rows_event::Extra_row_info::get_part_length |
( |
| ) |
|
◆ get_partition_id()
int binary_log::Rows_event::Extra_row_info::get_partition_id |
( |
| ) |
const |
|
inline |
◆ get_source_partition_id()
int binary_log::Rows_event::Extra_row_info::get_source_partition_id |
( |
| ) |
const |
|
inline |
◆ have_ndb_info()
bool binary_log::Rows_event::Extra_row_info::have_ndb_info |
( |
| ) |
const |
|
inline |
◆ have_part()
bool binary_log::Rows_event::Extra_row_info::have_part |
( |
| ) |
const |
|
inline |
◆ set_ndb_info()
void binary_log::Rows_event::Extra_row_info::set_ndb_info |
( |
const unsigned char * |
ndb_info, |
|
|
size_t |
len |
|
) |
| |
|
inline |
◆ set_partition_id()
void binary_log::Rows_event::Extra_row_info::set_partition_id |
( |
int |
partition_id | ) |
|
|
inline |
◆ set_source_partition_id()
void binary_log::Rows_event::Extra_row_info::set_source_partition_id |
( |
int |
source_partition_id | ) |
|
|
inline |
◆ m_extra_row_ndb_info
unsigned char* binary_log::Rows_event::Extra_row_info::m_extra_row_ndb_info |
|
private |
The extra row info provided by NDB.
◆ m_partition_id
int binary_log::Rows_event::Extra_row_info::m_partition_id |
|
private |
partition_id for a row in a partitioned table
◆ m_source_partition_id
int binary_log::Rows_event::Extra_row_info::m_source_partition_id |
|
private |
It is the partition_id of the source partition in case of Update_event, the target's partition_id is m_partition_id.
This variable is used only in case of Update_event.
◆ UNDEFINED
const int binary_log::Rows_event::Extra_row_info::UNDEFINED {INT_MAX} |
|
static |
The documentation for this class was generated from the following files: