24#ifndef DD_TRIGGER_INCLUDED
25#define DD_TRIGGER_INCLUDED
96 const char *
table_name,
bool *table_has_trigger);
Definition: sql_list.h:494
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
This class represents a trigger object.
Definition: trigger.h:90
static MEM_ROOT mem_root
Definition: client_plugin.cc:114
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
bool create_trigger(THD *thd, const ::Trigger *new_trigger, enum_trigger_order_type ordering_clause, const LEX_CSTRING &referenced_trigger_name)
Create new trigger in the data dictionary.
Definition: dd_trigger.cc:183
bool table_has_triggers(THD *thd, const char *schema_name, const char *table_name, bool *table_has_trigger)
Check in the data dictionary if there is any trigger associated with a table.
Definition: dd_trigger.cc:363
bool load_triggers(THD *thd, MEM_ROOT *mem_root, const char *schema_name, const char *table_name, const dd::Table &table, List<::Trigger > *triggers)
Load table triggers from the data dictionary.
Definition: dd_trigger.cc:286
const char * table_name
Definition: rules_table_service.cc:56
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
Definition: mysql_lex_string.h:40
This file defines all base public constants related to triggers in MySQL.
enum_trigger_order_type
Possible trigger ordering clause values:
Definition: trigger_def.h:64