• unknown's avatar
    Bug #26262: Add option to skip binary logging for mysqlcheck · f7c4ed0a
    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.
    f7c4ed0a
mysqlcheck.c 25.1 KB