MySQL 8.0.39
Source Code Documentation
|
DELETE_FILE_EVENT occurs when the LOAD DATA failed on the master. More...
#include <load_data_events.h>
Public Member Functions | |
Delete_file_event (const char *buf, const Format_description_event *fde) | |
see comment in Append_block_event More... | |
~Delete_file_event () override=default | |
Public Member Functions inherited from binary_log::Binary_log_event | |
virtual | ~Binary_log_event ()=0 |
Binary_log_event (const Binary_log_event &)=default | |
Binary_log_event (Binary_log_event &&)=default | |
Binary_log_event & | operator= (const Binary_log_event &)=default |
Binary_log_event & | operator= (Binary_log_event &&)=default |
enum Log_event_type | get_event_type () const |
Helper method. More... | |
const Log_event_header * | header () const |
Return a const pointer to the header of the log event. More... | |
Log_event_header * | header () |
Return a non-const pointer to the header of the log event. More... | |
const Log_event_footer * | footer () const |
Return a const pointer to the footer of the log event. More... | |
Log_event_footer * | footer () |
Return a non-const pointer to the footer of the log event. More... | |
Event_reader & | reader () |
Returns a reference to the event Event_reader object. More... | |
Public Attributes | |
uint32_t | file_id |
const char * | db |
Protected Member Functions | |
Delete_file_event (uint32_t file_id_arg, const char *db_arg) | |
Protected Member Functions inherited from binary_log::Binary_log_event | |
Binary_log_event (Log_event_type type_code) | |
This constructor is used to initialize the type_code of header object m_header. More... | |
Binary_log_event (const char **buf, const Format_description_event *fde) | |
This constructor will create a new object of Log_event_header and initialize the variable m_header, which in turn will be used to initialize Log_event's member common_header. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from binary_log::Binary_log_event | |
static const int | LOG_EVENT_TYPES = (ENUM_END_EVENT - 1) |
DELETE_FILE_EVENT occurs when the LOAD DATA failed on the master.
This event notifies the slave not to do the load and to delete the temporary file.
The variable data part is empty. The post header contains the following:
Name | Format | Description |
---|---|---|
file_id | 32 bit integer | The ID of the file to be deleted |
|
inlineprotected |
binary_log::Delete_file_event::Delete_file_event | ( | const char * | buf, |
const Format_description_event * | fde | ||
) |
see comment in Append_block_event
The buffer layout for fixed data part is as follows:
+---------+ | file_id | +---------+
buf | Contains the serialized event. |
fde | An FDE event (see Rotate_event constructor for more info). |
|
overridedefault |
const char* binary_log::Delete_file_event::db |
uint32_t binary_log::Delete_file_event::file_id |