diff options
author | anozdrin/alik@alik. <> | 2006-08-24 18:48:26 +0400 |
---|---|---|
committer | anozdrin/alik@alik. <> | 2006-08-24 18:48:26 +0400 |
commit | ad7d4b0c3f4419218ba87add803553bccf5c64ef (patch) | |
tree | b6317a42ae30689e6a441b47d2a8a41bac8dc13c /sql/sql_trigger.h | |
parent | b6bee0a394a5b20215b93f49a85ef8cc5b2310f4 (diff) | |
download | mariadb-git-ad7d4b0c3f4419218ba87add803553bccf5c64ef.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.
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); |