File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4821,7 +4821,7 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) {
48214821 MYSQL_ROW row ;
48224822
48234823 if (mysql_get_server_version (mysql ) < 100005 ) {
4824- // @@gtid_binlog_state does not exist.
4824+ /* @@gtid_binlog_state does not exist. */
48254825 return 0 ;
48264826 }
48274827
@@ -4830,16 +4830,16 @@ static int wsrep_add_sst_mode_cmds(MYSQL *mysql) {
48304830 return 1 ;
48314831
48324832 if (mysql_num_rows (res ) != 1 )
4833- // No entry for @@global.gtid_binlog_state, nothing needs to be done.
4833+ /* No entry for @@global.gtid_binlog_state, nothing needs to be done. */
48344834 return 0 ;
48354835
48364836 if (!(row = mysql_fetch_row (res )) || !(char * )row [0 ])
48374837 return 1 ;
48384838
4839- // first, add a command to turn off binary logging,
4839+ /* first, add a command to turn off binary logging, */
48404840 fprintf (md_result_file , "SET @@session.sql_log_bin=OFF;\n" );
48414841
4842- // followed by, a command to set global gtid_binlog_state.
4842+ /* followed by, a command to set global gtid_binlog_state. */
48434843 fprintf (md_result_file , "SET @@global.gtid_binlog_state='%s';\n" ,
48444844 (char * )row [0 ]);
48454845
You can’t perform that action at this time.
0 commit comments