mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Polishing (was the part of original patch for BUG#16899):
Changed trigger-handling code so that there will be the one place for generate statement string for replication log and for trigger file. sql/sql_trigger.cc: Changed trigger-handling code so that there will be the one place for generate statement string for replication log and for trigger file. sql/sql_trigger.h: Changed trigger-handling code so that there will be the one place for generate statement string for replication log and for trigger file.
This commit is contained in:
@ -92,10 +92,8 @@ public:
|
||||
}
|
||||
~Table_triggers_list();
|
||||
|
||||
bool create_trigger(THD *thd, TABLE_LIST *table,
|
||||
LEX_STRING *definer_user,
|
||||
LEX_STRING *definer_host);
|
||||
bool drop_trigger(THD *thd, TABLE_LIST *table);
|
||||
bool create_trigger(THD *thd, TABLE_LIST *table, String *stmt_query);
|
||||
bool drop_trigger(THD *thd, TABLE_LIST *table, String *stmt_query);
|
||||
bool process_triggers(THD *thd, trg_event_type event,
|
||||
trg_action_time_type time_type,
|
||||
bool old_row_is_record1);
|
||||
|
Reference in New Issue
Block a user