My Project
|
#include <log_event_old.h>
Public Types | |
enum | enum_error { ERR_OPEN_FAILURE = -1, ERR_OK = 0, ERR_TABLE_LIMIT_EXCEEDED = 1, ERR_OUT_OF_MEM = 2, ERR_BAD_TABLE_DEF = 3, ERR_RBR_TO_SBR = 4 } |
enum | enum_flag { STMT_END_F = (1U << 0), NO_FOREIGN_KEY_CHECKS_F = (1U << 1), RELAXED_UNIQUE_CHECKS_F = (1U << 2), COMPLETE_ROWS_F = (1U << 3) } |
enum | { RLE_NO_FLAGS = 0U } |
typedef uint16 | flag_set |
Public Member Functions | |
void | set_flags (flag_set flags_arg) |
void | clear_flags (flag_set flags_arg) |
flag_set | get_flags (flag_set flags_arg) const |
int | add_row_data (uchar *data, size_t length) |
virtual int | get_data_size () |
MY_BITMAP const * | get_cols () const |
size_t | get_width () const |
const Table_id & | get_table_id () const |
virtual bool | write_data_header (IO_CACHE *file) |
virtual bool | write_data_body (IO_CACHE *file) |
virtual const char * | get_db () |
virtual bool | is_valid () const |
Public Attributes | |
uint | m_row_count |
Protected Member Functions | |
Old_rows_log_event (THD *, TABLE *, ulong table_id, MY_BITMAP const *cols, bool is_transactional) | |
Old_rows_log_event (const char *row_data, uint event_len, Log_event_type event_type, const Format_description_log_event *description_event) | |
virtual int | do_add_row_data (uchar *data, size_t length) |
Protected Attributes | |
TABLE * | m_table |
Table_id | m_table_id |
MY_BITMAP | m_cols |
ulong | m_width |
ulong | m_master_reclength |
uint32 | m_bitbuf [128/(sizeof(uint32)*8)] |
uint32 | m_bitbuf_ai [128/(sizeof(uint32)*8)] |
uchar * | m_rows_buf |
uchar * | m_rows_cur |
uchar * | m_rows_end |
flag_set | m_flags |
Base class for the three types of row-based events {Write|Update|Delete}_row_log_event_old, with event type codes PRE_GA_{WRITE|UPDATE|DELETE}_ROWS_EVENT. These events are never created any more, except when reading a relay log created by an old server.