• gkodinov/kgeorge@magare.gmz's avatar
    Bug #29571: INSERT DELAYED IGNORE written to binary log on · 02fe5e27
    gkodinov/kgeorge@magare.gmz authored
     the master but on the slave
    
    MySQL can decide to "downgrade" a INSERT DELAYED statement
    to normal insert in certain situations.
    One such situation is when the slave is replaying a 
    replication feed.
    However INSERT DELAYED is logged even if there're no updates
    whereas the NORMAL INSERT is not logged in such cases.
    
    Fixed by always logging a "downgraded" INSERT DELAYED: even 
    if there were no updates.
    02fe5e27
sql_insert.cc 105 KB