My Project
|
#include <log_event.h>
Public Member Functions | |
void | print (FILE *file, PRINT_EVENT_INFO *print_event_info) |
Intvar_log_event (const char *buf, const Format_description_log_event *description_event) | |
Log_event_type | get_type_code () |
const char * | get_var_type_name () |
int | get_data_size () |
bool | is_valid () const |
Public Attributes | |
ulonglong | val |
uchar | type |
An Intvar_log_event will be created just before a Query_log_event, if the query uses one of the variables LAST_INSERT_ID or INSERT_ID. Each Intvar_log_event holds the value of one of these variables.
The Post-Header for this event type is empty. The Body has two components:
Name | Format | Description |
---|---|---|
type | 1 byte enumeration | One byte identifying the type of variable stored. Currently, two identifiers are supported: LAST_INSERT_ID_EVENT==1 and INSERT_ID_EVENT==2. |
value | 8 byte unsigned integer | The value of the variable. |