23#ifndef DD_TRIGGER_INCLUDED
24#define DD_TRIGGER_INCLUDED
95 const char *
table_name,
bool *table_has_trigger);
Definition: sql_list.h:433
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_class.h:945
This class represents a trigger object.
Definition: trigger.h:73
static MEM_ROOT mem_root
Definition: client_plugin.cc:109
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
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:177
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:357
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:280
const char * table_name
Definition: rules_table_service.cc:55
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:82
Definition: mysql_lex_string.h:39
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:63