Commit 7bc069d1 authored by unknown's avatar unknown
Browse files

After 5.1.6 just turn on logging, it will be sent to tables by default

parent b3273629
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3474,6 +3474,11 @@ sub mysqld_arguments ($$$$$) {
      # Force mysqld to use log files up until 5.1.6
      mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
    }
    else
    {
      # Turn on logging, will be sent to tables
      mtr_add_arg($args, "%s--log=", $prefix);
    }
  }

  if ( $type eq 'slave' )
@@ -3557,6 +3562,11 @@ sub mysqld_arguments ($$$$$) {
      # Force mysqld to use log files up until 5.1.6
      mtr_add_arg($args, "%s--log=%s", $prefix, $master->[0]->{'path_mylog'});
    }
    else
    {
      # Turn on logging, will be sent to tables
      mtr_add_arg($args, "%s--log=", $prefix);
    }

  } # end slave