24#ifndef DD__TRIGGER_IMPL_INCLUDED
25#define DD__TRIGGER_IMPL_INCLUDED
50class Open_dictionary_tables_ctx;
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
const String_type & name() const override
Definition: entity_object_impl.h:60
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
Definition: raw_record.h:46
Definition: table_impl.h:68
Object_id schema_id() const override
Definition: table_impl.h:431
Object_id id() const override
The unique dictionary object id.
Definition: table_impl.h:421
Definition: trigger_impl.h:54
Object_id schema_collation_id() const override
Definition: trigger_impl.h:221
static Trigger_impl * clone(const Trigger_impl &other, Table_impl *table)
Definition: trigger_impl.h:255
uint ordinal_position() const
Definition: trigger_impl.h:77
String_type m_action_statement
Definition: trigger_impl.h:277
bool store_attributes(Raw_record *r) override
Definition: trigger_impl.cc:151
enum_event_type event_type() const override
Definition: trigger_impl.h:108
ulonglong m_sql_mode
Definition: trigger_impl.h:272
void set_table(Table_impl *parent)
Definition: trigger_impl.h:90
my_timeval last_altered() const override
Definition: trigger_impl.h:173
void set_definer(const String_type &username, const String_type &hostname) override
Definition: trigger_impl.h:195
void set_last_altered(my_timeval last_altered) override
Definition: trigger_impl.h:175
String_type m_definer_host
Definition: trigger_impl.h:279
void set_sql_mode(ulonglong sql_mode) override
Definition: trigger_impl.h:185
String_type m_definer_user
Definition: trigger_impl.h:278
const String_type & action_statement_utf8() const override
Definition: trigger_impl.h:152
Object_id client_collation_id() const override
Definition: trigger_impl.h:205
Object_id schema_id() const override
Definition: trigger_impl.h:100
String_type m_action_statement_utf8
Definition: trigger_impl.h:276
void set_connection_collation_id(Object_id connection_collation_id) override
Definition: trigger_impl.h:217
void set_client_collation_id(Object_id client_collation_id) override
Definition: trigger_impl.h:209
const Entity_object_impl * impl() const override
Definition: trigger_impl.h:232
const String_type & definer_host() const override
Definition: trigger_impl.h:193
bool restore_attributes(const Raw_record &r) override
Definition: trigger_impl.cc:95
static Trigger_impl * restore_item(Table_impl *table)
Definition: trigger_impl.h:251
void set_action_statement(const String_type &action_statement) override
Definition: trigger_impl.h:148
const String_type & action_statement() const override
Definition: trigger_impl.h:144
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: trigger_impl.cc:230
const Object_table & object_table() const override
Definition: trigger_impl.cc:224
void set_event_type(enum_event_type event_type) override
Definition: trigger_impl.h:110
uint m_ordinal_position
Definition: trigger_impl.h:269
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: trigger_impl.h:238
Object_id id() const override
The unique dictionary object id.
Definition: trigger_impl.h:236
void set_ordinal_position(uint ordinal_position)
Definition: trigger_impl.h:73
my_timeval m_last_altered
Definition: trigger_impl.h:274
Object_id m_client_collation_id
Definition: trigger_impl.h:287
const Table_impl & table_impl() const
Definition: trigger_impl.h:92
void set_name(const String_type &name) override
Definition: trigger_impl.h:246
Trigger_impl()
Definition: trigger_impl.cc:54
void set_action_statement_utf8(const String_type &action_statement_utf8) override
Definition: trigger_impl.h:156
Entity_object_impl * impl() override
Definition: trigger_impl.h:230
void set_created(my_timeval created) override
Definition: trigger_impl.h:167
my_timeval created() const override
Definition: trigger_impl.h:165
ulonglong sql_mode() const override
Definition: trigger_impl.h:183
enum_event_type m_event_type
Definition: trigger_impl.h:260
enum_action_timing m_action_timing
Definition: trigger_impl.h:261
void debug_print(String_type &outb) const override
Definition: trigger_impl.cc:177
virtual const Table & table() const
Definition: trigger_impl.cc:77
Table_impl & table_impl()
Definition: trigger_impl.h:94
Object_id m_connection_collation_id
Definition: trigger_impl.h:288
void set_action_timing(enum_action_timing action_timing) override
Definition: trigger_impl.h:126
bool validate() const override
Definition: trigger_impl.cc:83
const String_type & definer_user() const override
Definition: trigger_impl.h:191
void set_action_order(uint action_order) override
Definition: trigger_impl.h:136
uint action_order() const override
Definition: trigger_impl.h:134
uint m_action_order
Definition: trigger_impl.h:270
Object_id m_schema_collation_id
Definition: trigger_impl.h:289
Table_impl * m_table
Definition: trigger_impl.h:283
const String_type & name() const override
Definition: trigger_impl.h:242
Object_id connection_collation_id() const override
Definition: trigger_impl.h:213
void set_schema_collation_id(Object_id schema_collation_id) override
Definition: trigger_impl.h:225
Object_id table_id() const override
Definition: trigger_impl.h:118
enum_action_timing action_timing() const override
Definition: trigger_impl.h:124
my_timeval m_created
Definition: trigger_impl.h:273
Class representing a Trigger in DD framework.
Definition: trigger.h:54
virtual uint action_order() const =0
virtual enum_action_timing action_timing() const =0
enum_action_timing
Definition: trigger.h:62
virtual enum_event_type event_type() const =0
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
const Object_id INVALID_OBJECT_ID
The default object ID which represents that the DD object is new and not persistent in dictionary tab...
Definition: object_id.h:37
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
enum_event_type
Enum values for the NESTING_EVENT_TYPE columns.
Definition: pfs_column_types.h:270
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
Used to sort Triggers of the same table by action timing, event type and action order.
Definition: trigger_impl.h:299
bool operator()(const dd::Trigger *t1, const dd::Trigger *t2) const
Definition: trigger_impl.h:300
Replacement of system's struct timeval to ensure we can carry 64 bit values even on a platform which ...
Definition: my_time_t.h:45
Include file for Sun RPC to compile out of the box.
unsigned int uint
Definition: uca9-dump.cc:75