• Leonard Zhou's avatar
    BUG#39858 rpl.rpl_rotate (rpl.rpl_rotate_logs) failed on pushbuild: result mismatch · 6db08f8d
    Leonard Zhou authored
    The method to purge binary log files produces different results in some platforms.
    The reason is that the purge time is calculated based on table modified time and
    that can't guarantee to purge master-bin.000002 in all platforms.(eg. windows)
    
    Use a new way that sets the time to purge binlog file 1 second after the last
    modified time of master-bin.000002.
    That can be sure that the file is always deleted in any platform.
    6db08f8d
rpl_rotate_logs.test 5.33 KB