Skip to content

Commit bcb0bb4

Browse files
s.sujathabkandasa
authored andcommitted
Bug#20379693: MISSING BREAK STATEMENT IN SWITCH "MYSQLD_GET_ONE_OPTION" FUNCTION IN MYSQLD.C
Description: =========== Missing break statements in switch case within "mysqld_get_one_option" function. case OPT_BINLOGGING_IMPOSSIBLE_MODE: WARN_DEPRECATED(NULL, "--binlogging_impossible_mode", "'--binlog_error_action'"); case OPT_SIMPLIFIED_BINLOG_GTID_RECOVERY: WARN_DEPRECATED(NULL, "--simplified_binlog_gtid_recovery", "'--binlog_gtid_simple_recovery'"); Fix: === Added missing break statements.
1 parent e603acb commit bcb0bb4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/mysqld.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights
1+
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights
22
reserved.
33
44
This program is free software; you can redistribute it and/or modify
@@ -8406,9 +8406,11 @@ mysqld_get_one_option(int optid,
84068406
case OPT_BINLOGGING_IMPOSSIBLE_MODE:
84078407
WARN_DEPRECATED(NULL, "--binlogging_impossible_mode",
84088408
"'--binlog_error_action'");
8409+
break;
84098410
case OPT_SIMPLIFIED_BINLOG_GTID_RECOVERY:
84108411
WARN_DEPRECATED(NULL, "--simplified_binlog_gtid_recovery",
84118412
"'--binlog_gtid_simple_recovery'");
8413+
break;
84128414
#include <sslopt-case.h>
84138415
#ifndef EMBEDDED_LIBRARY
84148416
case 'V':

0 commit comments

Comments
 (0)