Commit 9cda709e authored by unknown's avatar unknown
Browse files

Remove opt_local, noone knows what it should do


mysql-test/lib/mtr_stress.pl:
  Remove remnant of opt_local_master
parent 6e0e266e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ sub run_stress_test ()

  mtr_report("Starting stress testing\n");

  if ( ! $::glob_use_embedded_server and ! $::opt_local_master )
  if ( ! $::glob_use_embedded_server )
  {
    if ( ! mysqld_start($::master->[0],[],[]) )
    {
+0 −9
Original line number Diff line number Diff line
@@ -237,8 +237,6 @@ our $opt_gprof_dir;
our $opt_gprof_master;
our $opt_gprof_slave;

our $opt_local;

our $master;                    # Will be struct in C
our $slave;
our $clusters;
@@ -658,7 +656,6 @@ sub command_line_setup () {
             'comment=s'                => \$opt_comment,
             'debug'                    => \$opt_debug,
             'fast'                     => \$opt_fast,
             'local'                    => \$opt_local,
             'netware'                  => \$opt_netware,
             'old-master'               => \$opt_old_master,
             'reorder'                  => \$opt_reorder,
@@ -758,11 +755,6 @@ sub command_line_setup () {
  # Do sanity checks of command line arguments
  # --------------------------------------------------------------------------

  if ( $opt_extern and $opt_local )
  {
    mtr_error("Can't use --extern and --local at the same time");
  }

  if ( ! $opt_socket )
  {     # FIXME set default before reading options?
#    $opt_socket=  '@MYSQL_UNIX_ADDR@';
@@ -4206,7 +4198,6 @@ Deprecated options

Options not yet described, or that I want to look into more
  local                 
  local-master          
  netware               
  old-master            
  sleep=SECONDS