• unknown's avatar
    Bug #34909: mysqldump returns a 0 status on error when using · 159c34bf
    unknown authored
      --master-data
    
    No error code was returned by mysqldump if it detects that binary
    logging is not enabled on the server.
    Fixed by returning error code.
    
    
    client/mysqldump.c:
      Bug #34909: add error code
    mysql-test/r/mysqldump-no-binlog.result:
      Bug #34909: test case
    mysql-test/t/mysqldump-no-binlog-master.opt:
      Bug #34909: test case
    mysql-test/t/mysqldump-no-binlog.test:
      Bug #34909: test case
    159c34bf
mysqldump.c 123 KB