• unknown's avatar
    Bug #26262: Add option to skip binary logging for mysqlcheck · f9899284
    unknown authored
    Add the --skip-write-binlog option, which adds NO_WRITE_TO_BINLOG
    to REPAIR, ANALYZE, and OPTIMIZE commands.
    
    Use this option when these SQL commands should not be sent to
    replication slaves, nor run when using the binary logs for recovery
    from backup
    
    
    client/client_priv.h:
      Add OPT_WRITE_BINLOG client option
    client/mysqlcheck.c:
      Add --skip-write-binlog option, which adds NO_WRITE_TO_BINLOG to REPAIR, ANALYZE, and OPTIMIZE commands.
    f9899284
mysqlcheck.c 25.1 KB