MySQL 9.1.0
Source Code Documentation
event_parse_data.h File Reference
#include "lex_string.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_time.h"

Go to the source code of this file.

Classes

class  Event_parse_data
 

Macros

#define EVEX_MICROSECOND_UNSUP   -6
 
#define EVEX_MAX_INTERVAL_VALUE   1000000000L
 

Functions

Sql_cmdmake_create_event_sql_cmd (THD *, sp_name *)
 Factory function used by the parser to create the actual Sql_cmd for create event, since no Parse_tree node is created for EVENT statements. More...
 
Sql_cmdmake_alter_event_sql_cmd (THD *, sp_name *)
 Factory function used by the parser to create the actual Sql_cmd for alter event, since no Parse_tree node is created for EVENT statements. More...
 
Sql_cmdmake_drop_event_sql_cmd (THD *, sp_name *)
 Factory function used by the parser to create the actual Sql_cmd for drop event, since no Parse_tree node is created for EVENT statements. More...
 
Event_parse_dataget_event_parse_data (LEX *)
 Helper function to retrieve Event_parse_data from the type erased Sql_cmd. More...
 
void cleanup_event_parse_data (LEX *)
 Cleans up event parse data by destroying the event_body sp_head. More...
 

Macro Definition Documentation

◆ EVEX_MAX_INTERVAL_VALUE

#define EVEX_MAX_INTERVAL_VALUE   1000000000L

◆ EVEX_MICROSECOND_UNSUP

#define EVEX_MICROSECOND_UNSUP   -6

Function Documentation

◆ cleanup_event_parse_data()

void cleanup_event_parse_data ( LEX lex)

Cleans up event parse data by destroying the event_body sp_head.

◆ get_event_parse_data()

Event_parse_data * get_event_parse_data ( LEX lex)

Helper function to retrieve Event_parse_data from the type erased Sql_cmd.

This is needed since the parser currently need to refer to Event_parse_data after the Sql_cmd has been created.

◆ make_alter_event_sql_cmd()

Sql_cmd * make_alter_event_sql_cmd ( THD thd,
sp_name event_ident 
)

Factory function used by the parser to create the actual Sql_cmd for alter event, since no Parse_tree node is created for EVENT statements.

◆ make_create_event_sql_cmd()

Sql_cmd * make_create_event_sql_cmd ( THD thd,
sp_name event_ident 
)

Factory function used by the parser to create the actual Sql_cmd for create event, since no Parse_tree node is created for EVENT statements.

◆ make_drop_event_sql_cmd()

Sql_cmd * make_drop_event_sql_cmd ( THD thd,
sp_name event_ident 
)

Factory function used by the parser to create the actual Sql_cmd for drop event, since no Parse_tree node is created for EVENT statements.