• Alfranio Correia's avatar
    BUG#48091 valgrind errors when slave has double not null and master has double null · deea727f
    Alfranio Correia authored
    Backporting BUG#38173 to mysql-5.1-bugteam
    
    The reason of  the bug was incompatibile with the master side behaviour.
    INSERT query on the master is allowed to insert into a table without specifying
    values of DEFAULT-less fields if sql_mode is not strict.
                      
    Fixed with checking sql_mode by the sql thread to decide how to react.
    Non-strict sql_mode should allow Write_rows event to complete.
                      
    todo: warnings can be shown via show slave status, still this is a 
    separate rather general issue how to show warnings for the slave threads.
    deea727f
rpl_row_tabledefs_2myisam.result 8.86 KB