mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
Fix unhandled exception in mysql-test-run.pl, creating a dir that already exist
mysql-test/lib/mtr_process.pl: Remove junk code/comments Moved the creation of var/log out of function mtr_kill_leftovers mysql-test/mysql-test-run.pl: Rename 'kill_running_server' to more appropriate name 'kill_running_servers' If no var/log dir exists when mtr_kill_leftovers is started it should be created Remove "unless" syntax, too perlish Fix typo
This commit is contained in:
@@ -339,19 +339,6 @@ sub mtr_kill_leftovers () {
|
||||
mtr_report("Killing Possible Leftover Processes");
|
||||
mtr_debug("mtr_kill_leftovers(): started.");
|
||||
|
||||
mkpath("$::opt_vardir/log"); # Needed for mysqladmin log
|
||||
|
||||
# Stop or kill Instance Manager and all its children. If we failed to do
|
||||
# that, we can only abort -- there is nothing left to do.
|
||||
|
||||
# mtr_error("Failed to stop Instance Manager.")
|
||||
# unless mtr_im_stop($::instance_manager);
|
||||
|
||||
# Start shutdown of masters and slaves. Don't touch IM-managed mysqld
|
||||
# instances -- they should be stopped by mtr_im_stop().
|
||||
|
||||
mtr_debug("Shutting down mysqld-instances...");
|
||||
|
||||
my @kill_pids;
|
||||
my %admin_pids;
|
||||
|
||||
|
Reference in New Issue
Block a user