diff options
author | bar@mysql.com <> | 2007-02-26 15:25:43 +0400 |
---|---|---|
committer | bar@mysql.com <> | 2007-02-26 15:25:43 +0400 |
commit | 8f97dea5f8c28b69e4492b71b923b9fe6382f845 (patch) | |
tree | 840e2c8cd1e24a28481b85b03abdb959e836d7ed /sql/sql_trigger.cc | |
parent | 3e760410a0d7b3db9ded319b86950663760705da (diff) | |
download | mariadb-git-8f97dea5f8c28b69e4492b71b923b9fe6382f845.tar.gz |
Bug#24478 DROP TRIGGER is not caught by replicate-*-table filters
Problem: DROP TRIGGER was not properly handled in combination
with slave filters, which made replication stop
Fix: loading table name before checking slave filters when
dropping a trigger.
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r-- | sql/sql_trigger.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc index 3569733d064..0b648570b86 100644 --- a/sql/sql_trigger.cc +++ b/sql/sql_trigger.cc @@ -107,10 +107,6 @@ const LEX_STRING trg_event_type_names[]= }; -static int -add_table_for_trigger(THD *thd, sp_name *trig, bool if_exists, - TABLE_LIST ** table); - class Handle_old_incorrect_sql_modes_hook: public Unknown_key_hook { private: @@ -1183,7 +1179,7 @@ bool Table_triggers_list::get_trigger_info(THD *thd, trg_event_type event, 1 Error */ -static int +int add_table_for_trigger(THD *thd, sp_name *trig, bool if_exists, TABLE_LIST **table) { |