diff options
author | unknown <anozdrin/alik@alik.> | 2006-08-24 18:48:26 +0400 |
---|---|---|
committer | unknown <anozdrin/alik@alik.> | 2006-08-24 18:48:26 +0400 |
commit | 2f0a610f91d37e21a3db86e82f93ebf98b08f3fd (patch) | |
tree | b6317a42ae30689e6a441b47d2a8a41bac8dc13c /sql/sql_trigger.h | |
parent | 965a3970c91dc4554a8ccbd3e358b1b2c20a0cfb (diff) | |
download | mariadb-git-2f0a610f91d37e21a3db86e82f93ebf98b08f3fd.tar.gz |
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.
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index e736c3e0e1a..521905a2c56 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -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); |