• Marko Mäkelä's avatar
    Report all redo log corruption · 05153a67
    Marko Mäkelä authored
    Amend commit b853b4fd
    that was reverted in commit 29150e23.
    
    recv_parse_log_recs(): Do check for corrupted redo log or file
    system before checking for len==0, but only read *ptr if
    it is not past the end of the buffer (end_ptr).
    
    recv_parse_log_rec(): Report incorrect redo log type
    in a consistent way with recv_parse_or_apply_log_rec_body().
    This is a follow-up to commit f30c5af4.
    05153a67
log0recv.cc 103 KB