summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-08-03 12:09:22 +0200
committerunknown <msvensson@neptunus.(none)>2006-08-03 12:09:22 +0200
commit234bb881c3d0927d0f9ae4ce3b572c60fae339e2 (patch)
tree7d64c7dc4c7f2df63d7aff61140468968bb9d21d /client/mysqldump.c
parent607b8e5e6e75af501da42f54c670c221bdb83cec (diff)
downloadmariadb-git-234bb881c3d0927d0f9ae4ce3b572c60fae339e2.tar.gz
Remove double error printout in mysqldump
client/mysqldump.c: Remove double error printout, mysql_query_with_error_report will do that. And set the exit code for us. mysql-test/r/mysqldump.result: Update test result after merge
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 1964e5dee85..3dce7fe8dc8 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -2994,8 +2994,6 @@ static int do_show_master_status(MYSQL *mysql_con)
(opt_master_data == MYSQL_OPT_MASTER_DATA_COMMENTED_SQL) ? "-- " : "";
if (mysql_query_with_error_report(mysql_con, &master, "SHOW MASTER STATUS"))
{
- my_printf_error(0, "Error: Couldn't execute 'SHOW MASTER STATUS': %s",
- MYF(0), mysql_error(mysql_con));
return 1;
}
else