summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-06-15 13:08:10 +0300
committerMichael Widenius <monty@askmonty.org>2012-06-15 13:08:10 +0300
commit7cd1dc5de2051d59798ce50f417f301fa1df356f (patch)
tree1b6b55820b75342b56295a6c8909a2b1e29893d6 /client
parentacba7d2f9f131a7726138608fd260ddbf5973f65 (diff)
downloadmariadb-git-7cd1dc5de2051d59798ce50f417f301fa1df356f.tar.gz
Fix for: lp:1013432 and MySQL#64800:
mysqldump with --include-master-host-port putting quotes around port number Patch from Stewart Smith client/mysqldump.c: Remove quotes from MASTER_PORT
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 6834d16bde7..9f34b2556a9 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -4773,7 +4773,7 @@ static int do_show_slave_status(MYSQL *mysql_con)
if (row[1])
fprintf(md_result_file, "MASTER_HOST='%s', ", row[1]);
if (row[3])
- fprintf(md_result_file, "MASTER_PORT='%s', ", row[3]);
+ fprintf(md_result_file, "MASTER_PORT=%s, ", row[3]);
}
fprintf(md_result_file,
"MASTER_LOG_FILE='%s', MASTER_LOG_POS=%s;\n", row[9], row[21]);