From 8afe262ae5ab3ba2bc8f440c67341ce2ad8ad544 Mon Sep 17 00:00:00 2001 From: Murthy Narkedimilli Date: Tue, 19 Mar 2013 15:53:48 +0100 Subject: Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER --- client/mysqldump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/mysqldump.c') diff --git a/client/mysqldump.c b/client/mysqldump.c index 9a2aa5a9f96..cdd9e04ae18 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -12,7 +12,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ /* mysqldump.c - Dump a tables contents and format to an ASCII file -- cgit v1.2.1 From 0fe3128c947ff938bd81d682cfb245926a4e808e Mon Sep 17 00:00:00 2001 From: Venkatesh Duggirala Date: Fri, 12 Apr 2013 14:18:21 +0530 Subject: 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. --- client/mysqldump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/mysqldump.c') 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]); -- cgit v1.2.1