diff options
author | gkodinov/kgeorge@magare.gmz <> | 2008-03-07 11:15:49 +0200 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2008-03-07 11:15:49 +0200 |
commit | 11cd97ed6b3cfd59310aaf79915cfeea1454886b (patch) | |
tree | ef121e1746fd1e03d95bdb7f579dfffeb25a171a /client | |
parent | 0596b1c6cdd54510dbcd0f4ba30bd828d96c4d2b (diff) | |
download | mariadb-git-11cd97ed6b3cfd59310aaf79915cfeea1454886b.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.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 980013d539a..e8129a6fd73 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -3285,6 +3285,7 @@ static int do_show_master_status(MYSQL *mysql_con) my_printf_error(0, "Error: Binlogging on server not active", MYF(0)); mysql_free_result(master); + maybe_exit(EX_MYSQLERR); return 1; } mysql_free_result(master); |