Commit b09b762f authored by unknown's avatar unknown
Browse files

Fix for BUG#13527 "mysql-test-run.pl truncates var/log/*.err several times during one testsuit run"


mysql-test/mysql-test-run.pl:
  .err files of the mysqld servers should be appended to, not reset every time we restart
  the mysqlds during the testsuite.
parent fe3e77d8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2137,7 +2137,8 @@ sub mysqld_start ($$$$) {
  {
    if ( $pid= mtr_spawn($exe, $args, "",
                         $master->[$idx]->{'path_myerr'},
                         $master->[$idx]->{'path_myerr'}, "") )
                         $master->[$idx]->{'path_myerr'}, "",
                         { append_log_file => 1 }) )
    {
      return sleep_until_file_created($master->[$idx]->{'path_mypid'},
                                      $master->[$idx]->{'start_timeout'}, $pid);
@@ -2148,7 +2149,8 @@ sub mysqld_start ($$$$) {
  {
    if ( $pid= mtr_spawn($exe, $args, "",
                         $slave->[$idx]->{'path_myerr'},
                         $slave->[$idx]->{'path_myerr'}, "") )
                         $slave->[$idx]->{'path_myerr'}, "",
                         { append_log_file => 1 }) )
    {
      return sleep_until_file_created($slave->[$idx]->{'path_mypid'},
                                      $master->[$idx]->{'start_timeout'}, $pid);