MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Delete_rows_log_event_old Class Reference

#include <log_event_old.h>

Inheritance diagram for Delete_rows_log_event_old:
Collaboration diagram for Delete_rows_log_event_old:

Public Types

enum  { TYPE_CODE = PRE_GA_DELETE_ROWS_EVENT }
- Public Types inherited from Old_rows_log_event
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 Types inherited from Log_event
enum  enum_skip_reason { EVENT_SKIP_NOT, EVENT_SKIP_IGNORE, EVENT_SKIP_COUNT }
typedef unsigned char Byte

Public Member Functions

 Delete_rows_log_event_old (THD *, TABLE *, ulong, MY_BITMAP const *cols, bool is_transactional)
- Public Member Functions inherited from Old_rows_log_event
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_idget_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 Member Functions inherited from Log_event
 Log_event (enum_event_cache_type cache_type_arg=EVENT_INVALID_CACHE, enum_event_logging_type logging_type_arg=EVENT_INVALID_LOGGING)
virtual void print (FILE *file, PRINT_EVENT_INFO *print_event_info)=0
void print_timestamp (IO_CACHE *file, time_t *ts)
void print_header (IO_CACHE *file, PRINT_EVENT_INFO *print_event_info, bool is_more)
void print_base64 (IO_CACHE *file, PRINT_EVENT_INFO *print_event_info, bool is_more)
bool wrapper_my_b_safe_write (IO_CACHE *file, const uchar *buf, ulong data_length)
virtual Log_event_type get_type_code ()=0
void set_artificial_event ()
void set_relay_log_event ()
bool is_artificial_event () const
bool is_relay_log_event () const
bool is_ignorable_event () const
bool is_no_filter_event () const
bool is_using_trans_cache () const
bool is_using_stmt_cache () const
bool is_using_immediate_logging () const
 Log_event (const char *buf, const Format_description_log_event *description_event)
void register_temp_buf (char *buf)
void free_temp_buf ()
const char * get_type_str ()

Static Public Member Functions

static bool binlog_row_logging_function (THD *thd, TABLE *table, bool is_transactional, const uchar *before_record, const uchar *after_record __attribute__((unused)))

Protected Attributes

uchar * m_after_image
uchar * m_memory
- Protected Attributes inherited from Old_rows_log_event
TABLEm_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

Additional Inherited Members

- Public Attributes inherited from Old_rows_log_event
uint m_row_count
- Protected Types inherited from Log_event
enum  enum_event_cache_type {
  EVENT_INVALID_CACHE = 0, EVENT_STMT_CACHE, EVENT_TRANSACTIONAL_CACHE, EVENT_NO_CACHE,
  EVENT_CACHE_COUNT
}
enum  enum_event_logging_type { EVENT_INVALID_LOGGING = 0, EVENT_NORMAL_LOGGING, EVENT_IMMEDIATE_LOGGING, EVENT_CACHE_LOGGING_COUNT }
- Protected Member Functions inherited from Old_rows_log_event
 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)

Detailed Description

Old class for binlog events that delete existing rows from a table (event type code PRE_GA_DELETE_ROWS_EVENT). Such events are never produced by this version of the server, but they may be read from a relay log created by an old server. New servers create events of class Delete_rows_log_event (event type code DELETE_ROWS_EVENT) instead.

Definition at line 505 of file log_event_old.h.


The documentation for this class was generated from the following files: