• Sujatha Sivakumar's avatar
    Bug#22278455: MYSQL 5.5:RPL_BINLOG_INDEX FAILS IN VALGRIND. · c5ba7067
    Sujatha Sivakumar authored
    Problem:
    =======
    rpl_binlog_index.test fails with following valgrind error.
    
    line
    Conditional jump or move depends on uninitialised value(s)
    at 0x4C2F842: __memcmp_sse4_1 (in /usr/lib64/valgrind/
    vgpreload_memcheck-amd64-linux.so)
    0x739E39: find_uniq_filename(char*) (log.cc:2212)
    0x73A11B: MYSQL_LOG::generate_new_name(char*, char const*)
    (log.cc:2492)
    0x73A1ED: MYSQL_LOG::init_and_set_log_file_name(char const*,
    char const*, enum_log_type, cache_type) (log.cc:2289)
    0x73B6F5: MYSQL_BIN_LOG::open(char const*, enum_log_type,
    
    
    Analysis and fix:
    =================
    This issue was fixed as part of Bug#20459363 fix in 5.6 and
    above. Hence backporting the fix to MySQL-5.5.
    c5ba7067
log.cc 191 KB