Commit 5c21619b authored by tnurnberg@sin.intern.azundris.com's avatar tnurnberg@sin.intern.azundris.com
Browse files

Bug#30821: setting --tc_heuristic_recover tries to set myisam_stats_method

Options to mysqld were not processed correctly because switch statement
was missing some "break"s. CS adds them.

No test case; would require .opt file and server restart. Manually tested.
parent fa5eb277
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7165,6 +7165,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
      have_merge_db= SHOW_OPTION_YES;
    else
      have_merge_db= SHOW_OPTION_DISABLED;
    break;
#ifdef HAVE_BERKELEY_DB
  case OPT_BDB_NOSYNC:
    /* Deprecated option */
@@ -7304,6 +7305,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
      fprintf(stderr, "Unknown option to tc-heuristic-recover: %s\n",argument);
      exit(1);
    }
    break;
  }
  case OPT_MYISAM_STATS_METHOD:
  {