• Nuno Carvalho's avatar
    BUG#13979418: SHOW BINLOG EVENTS MAY CRASH THE SERVER · cdaae169
    Nuno Carvalho authored
    The function mysql_show_binlog_events has a local stack variable
    'LOG_INFO linfo;', which is assigned to thd->current_linfo, however
    this variable goes out of scope and is destroyed before clean
    thd->current_linfo.
    
    The problem is solved by moving 'LOG_INFO linfo;' to function scope.
    cdaae169
sql_repl.cc 56.7 KB