diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2008-03-07 11:15:49 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2008-03-07 11:15:49 +0200 |
commit | 99c0b5e10ff2f64df6b3d90096be0ece31130dcb (patch) | |
tree | ef121e1746fd1e03d95bdb7f579dfffeb25a171a /mysql-test/r/mysqldump-no-binlog.result | |
parent | 4e7c4ab929b85eaaa91a8c678872c44fc421c396 (diff) | |
download | mariadb-git-99c0b5e10ff2f64df6b3d90096be0ece31130dcb.tar.gz |
Bug #34909: mysqldump returns a 0 status on error when using
--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
Diffstat (limited to 'mysql-test/r/mysqldump-no-binlog.result')
-rw-r--r-- | mysql-test/r/mysqldump-no-binlog.result | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/mysqldump-no-binlog.result b/mysql-test/r/mysqldump-no-binlog.result new file mode 100644 index 00000000000..78bc19b7cba --- /dev/null +++ b/mysql-test/r/mysqldump-no-binlog.result @@ -0,0 +1 @@ +mysqldump: Error: Binlogging on server not active |