The statements
DROP DATABASE IF
EXISTS
,
DROP TABLE IF
EXISTS
, and
DROP VIEW IF
EXISTS
are always replicated, even if the database,
table, or view to be dropped does not exist on the master. This
is to ensure that the object to be dropped no longer exists on
either the master or the slave, once the slave has caught up
with the master.
Beginning with MySQL 5.1.33, the statements
DROP PROCEDURE
IF EXISTS
and
DROP FUNCTION IF
EXISTS
are also replicated, even if the procedure or
function to be dropped does not exist on the master. (Bug#13684)
User Comments
Add your own comment.