Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 1.2Mb


14.9.4.10 LOAD_EVENT

Binlog::LOAD_EVENT:

all string lengths are without the terminating 0

Payload
4              slave_proxy_id
4              exec_time
4              skip_lines
1              table_name_len
1              schema_len
4              num_fields

1              field_term
1              enclosed_by
1              line_term
1              line_start
1              escaped_by
1              opt_flags
1              empty_flags

string.var_len [len=1 * num_fields] (array of 1-byte) field_name_lengths
string.var_len [len=sum(field_name_lengths) + num_fields] (array of nul-terminated strings) field_names
string.var_len [len=table_name_len + 1] (nul-terminated string) table_name
string.var_len [len=schema_len + 1] (nul-terminated string) schema_name
string.NUL     file_name
Fields
  • empty_flags (1) --

    Hex

    Name

    0x01

    FIELD_TERM_EMPTY

    0x02

    ENCLOSED_EMPTY

    0x04

    LINE_TERM_EMPTY

    0x08

    LINE_START_EMPTY

    0x10

    ESCAPE_EMPTY

  • opt_flags (1) --

    Hex

    Name

    0x01

    DUMPFILE_FLAG

    0x02

    OPT_ENCLOSED_FLAG

    0x04

    REPLACE_FLAG

    0x08

    IGNORE_FLAG


User Comments
Sign Up Login You must be logged in to post a comment.