summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@skysql.com>2014-06-18 10:19:18 -0400
committerNirbhay Choubey <nirbhay@skysql.com>2014-06-18 10:19:18 -0400
commit0f5522c44f9ebb002f203ad1f983b77e3925581c (patch)
tree6fa12bf93a77d208b5d23755e1183e8be58bf8ef /client
parent1fbb70559b45fee8be142e44249e8fc81b8ee3a8 (diff)
downloadmariadb-git-0f5522c44f9ebb002f203ad1f983b77e3925581c.tar.gz
MDEV#6316: (post-fix) Using C-style comments in mysqldump.
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c8
1 files 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]);