• cmiller@zippy.cornsilk.net's avatar
    Bug#35157: mysqldump should use FLUSH TABLES NO_WRITE_TO_BINLOG \ · 13fa535b
    cmiller@zippy.cornsilk.net authored
    	when --master-data is used
    
    When using the --master-data option with mysqldump, mysqldump uses 
    a FLUSH TABLES command.  However, this statement got replicated to 
    the slave(s), which caused the slave(s) to block unnecessarily while
    the FLUSH tables command completed.
    
    Now, if the master-data option is set to one of the two "on" modes,
    then use the "LOCAL" qualifier to ensure that it's not replicated.
    13fa535b
mysqldump.c 154 KB