Commit 1a5f346b authored by kent@mysql.com's avatar kent@mysql.com

mtr_process.pl:

  Make sure mtr_kill_processes() is called with an array ref
  Corrected error string for STDERR redirect
parent 16eecea2
...@@ -183,7 +183,7 @@ sub spawn_impl ($$$$$$$$) { ...@@ -183,7 +183,7 @@ sub spawn_impl ($$$$$$$$) {
{ {
if ( ! open(STDERR,$log_file_open_mode,$error) ) if ( ! open(STDERR,$log_file_open_mode,$error) )
{ {
mtr_error("can't redirect STDERR to \"$output\": $!"); mtr_error("can't redirect STDERR to \"$error\": $!");
} }
} }
} }
...@@ -560,8 +560,8 @@ sub mtr_stop_mysqld_servers ($) { ...@@ -560,8 +560,8 @@ sub mtr_stop_mysqld_servers ($) {
start_reap_all(); # Avoid zombies start_reap_all(); # Avoid zombies
SIGNAL: my @mysqld_pids= keys %mysqld_pids;
mtr_kill_processes(\keys (%mysqld_pids)); mtr_kill_processes(\@mysqld_pids);
stop_reap_all(); # Get into control again stop_reap_all(); # Get into control again
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment