• bar@mysql.com/bar.intranet.mysql.r18.ru's avatar
    Bug#17642 mysqlbinlog: Restore from row-based binlog fails · ba6529d7
    Problem: mysqlbinlog_base64 failed sporadically.
    
    Reason: Missing "flush logs" before running $MYSQL_BINLOG,
    which could start dumping the log file before server
    has finished writting into it.
    Fix:
    - implementing --force-if-open option to "mysqlbinlog"
    - adding --disable-force-if-open to make $MYSQL_BINLOG
      fail on non-closed log files, to garantee that nobody
      will forget "flush logs" in the future.
    - adding "flush logs" into all affected tests.
    ba6529d7
binlog_stm_mix_innodb_myisam.result 13.2 KB