mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Cset exclude: msvensson@shellback.(none)|ChangeSet|20070330134336|02280
This commit is contained in:
@ -2549,16 +2549,10 @@ sub ndbcluster_wait_started($$){
|
||||
sub mysqld_wait_started($){
|
||||
my $mysqld= shift;
|
||||
|
||||
my $pid_from_pidfile=
|
||||
sleep_until_file_created($mysqld->{'path_pid'},
|
||||
$mysqld->{'start_timeout'},
|
||||
$mysqld->{'pid'});
|
||||
|
||||
# On platforms with pseudo threads we need to save
|
||||
# the real pid of mysqld read from pidfile
|
||||
$mysqld->{'real_pid'}= $pid_from_pidfile;
|
||||
|
||||
return $pid_from_pidfile == 0;
|
||||
my $res= sleep_until_file_created($mysqld->{'path_pid'},
|
||||
$mysqld->{'start_timeout'},
|
||||
$mysqld->{'pid'});
|
||||
return $res == 0;
|
||||
}
|
||||
|
||||
|
||||
@ -4053,7 +4047,6 @@ sub stop_all_servers () {
|
||||
|
||||
push(@kill_pids,{
|
||||
pid => $mysqld->{'pid'},
|
||||
real_pid => $mysqld->{'real_pid'},
|
||||
pidfile => $mysqld->{'path_pid'},
|
||||
sockfile => $mysqld->{'path_sock'},
|
||||
port => $mysqld->{'port'},
|
||||
@ -4260,7 +4253,6 @@ sub run_testcase_stop_servers($$$) {
|
||||
|
||||
push(@kill_pids,{
|
||||
pid => $mysqld->{'pid'},
|
||||
real_pid => $mysqld->{'real_pid'},
|
||||
pidfile => $mysqld->{'path_pid'},
|
||||
sockfile => $mysqld->{'path_sock'},
|
||||
port => $mysqld->{'port'},
|
||||
@ -4311,7 +4303,6 @@ sub run_testcase_stop_servers($$$) {
|
||||
|
||||
push(@kill_pids,{
|
||||
pid => $mysqld->{'pid'},
|
||||
real_pid => $mysqld->{'real_pid'},
|
||||
pidfile => $mysqld->{'path_pid'},
|
||||
sockfile => $mysqld->{'path_sock'},
|
||||
port => $mysqld->{'port'},
|
||||
|
Reference in New Issue
Block a user