• Luis Soares's avatar
    BUG#42928: binlog-format setting prevents server from start if binary · a11e2137
    Luis Soares authored
    logging is disabled
          
    NOTE: this is the backport to next-mr.
                
    If one sets binlog-format but does NOT enable binary log, server
    refuses to start up. The following messages appears in the error log:
                
    090217 12:47:14 [ERROR] You need to use --log-bin to make
    --binlog-format work.  
    090217 12:47:14 [ERROR] Aborting
                
    This patch addresses this by making the server not to bail out if the
    binlog-format is set without the log-bin option. Additionally, the
    specified binlog-format is stored, in the global system variable
    "binlog_format", and a warning is printed instead of an error.
    a11e2137
mysqld.cc 317 KB