• Alfranio Correia's avatar
    BUG#13337202 - REPLICATION PERFORMANCE DROP DUE TO "THE BINLOG MAY BE CORRUPTED" FLOOD · d1ba9b32
    Alfranio Correia authored
    In patch mysql-5.5:revno:3097.92.133, we made the gcc 4.6.1 compiler
    to stop complaining about the fact that binlog_can_be_corrupted was
    defined but not used. The fix consisted in checking the variable
    and printing a warning message.
    
    However, the fix caused a regression as a message was being printed
    out when there was no corrupted binary log causing performance
    problems and triggering users' suspicions when there was no need.
    
    In BUG#13337202, we do not print any message and use the variable
    in an "if" with an empty body to keep the compiler happy.
    d1ba9b32
sql_repl.cc 62.6 KB