mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-6769 DROP TRIGGER IF NOT EXIST binlogged on master but not on slave
don't return from DROP TRIGGER IF NOT EXISTS on the slave side early when the trigger couldn't be read
This commit is contained in:
@ -2283,11 +2283,15 @@ mysql_execute_command(THD *thd)
|
||||
according to slave filtering rules.
|
||||
Returning success without producing any errors in this case.
|
||||
*/
|
||||
DBUG_RETURN(0);
|
||||
if (!thd->lex->check_exists)
|
||||
DBUG_RETURN(0);
|
||||
/*
|
||||
DROP TRIGGER IF NOT EXISTS will return without an error later
|
||||
after possibly writing the query to a binlog
|
||||
*/
|
||||
}
|
||||
|
||||
// force searching in slave.cc:tables_ok()
|
||||
all_tables->updating= 1;
|
||||
else // force searching in slave.cc:tables_ok()
|
||||
all_tables->updating= 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user