• guilhem@mysql.com's avatar
    Making DROP TABLE IF EXISTS, DROP DATABASE IF EXISTS, DELETE FROM, UPDATE be logged to · 2b20e84f
    guilhem@mysql.com authored
    binlog even if they changed nothing, and a test for this.
    This is useful when users use these commands to clean up their master and slave by issuing
    one command on master (assume master and slave have slightly different data for some
    reason and you want to clean up both).
    Note that I have not changed multi-table DELETE and multi-table UPDATE because their
    error-reporting mechanism is more complicated.
    2b20e84f
sql_delete.cc 19 KB