From 0f5522c44f9ebb002f203ad1f983b77e3925581c Mon Sep 17 00:00:00 2001 From: Nirbhay Choubey Date: Wed, 18 Jun 2014 10:19:18 -0400 Subject: [PATCH] MDEV#6316: (post-fix) Using C-style comments in mysqldump. --- client/mysqldump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/mysqldump.c b/client/mysqldump.c index 5963d4da460..3485f9cbd47 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -4821,7 +4821,7 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) { MYSQL_ROW row; if (mysql_get_server_version(mysql) < 100005) { - // @@gtid_binlog_state does not exist. + /* @@gtid_binlog_state does not exist. */ return 0; } @@ -4830,16 +4830,16 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) { return 1; if (mysql_num_rows(res) != 1) - // No entry for @@global.gtid_binlog_state, nothing needs to be done. + /* No entry for @@global.gtid_binlog_state, nothing needs to be done. */ return 0; if (!(row= mysql_fetch_row(res)) || !(char *)row[0]) return 1; - // first, add a command to turn off binary logging, + /* first, add a command to turn off binary logging, */ fprintf(md_result_file, "SET @@session.sql_log_bin=OFF;\n"); - // followed by, a command to set global gtid_binlog_state. + /* followed by, a command to set global gtid_binlog_state. */ fprintf(md_result_file, "SET @@global.gtid_binlog_state='%s';\n", (char*)row[0]);