diff options
author | Venkatesh Duggirala <venkatesh.duggirala@oracle.com> | 2013-04-12 14:18:21 +0530 |
---|---|---|
committer | Venkatesh Duggirala <venkatesh.duggirala@oracle.com> | 2013-04-12 14:18:21 +0530 |
commit | 0fe3128c947ff938bd81d682cfb245926a4e808e (patch) | |
tree | bd74ad197e71e40036b1522114ebefae9929db08 /client | |
parent | 2c780b461dc62924b3f35bd9e17ec7237dfd31d8 (diff) | |
download | mariadb-git-0fe3128c947ff938bd81d682cfb245926a4e808e.tar.gz |
BUG#16615117 MYSQLDUMP PRODUCES A CHANGE MASTER STATEMENT
WITH A PORT NUMBER ENCLOSED IN QUOTES
Problem: mysqldump --dump-slave --include-master-host-port
prints the CHANGE MASTER command in the generated logical
backup. The PORT number that is generated with this command
is a string and should be an integer.
Fix: Remove the Enclosed quotes for port number.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index cdd9e04ae18..7e1b0a8756b 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -4747,7 +4747,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]); |