1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Remove any old pidfile before starting mysqld to make sure that

'mysqld_wait_started' don't return prematurely because of an old
pidfile
This commit is contained in:
msvensson@pilot.(none)
2007-08-29 17:54:02 +02:00
parent f164a136e1
commit ac5309cb04

View File

@@ -3825,6 +3825,9 @@ sub mysqld_start ($$$) {
$wait_for_pid_file= 0;
}
# Remove the pidfile
unlink($mysqld->{'path_pid'});
if ( defined $exe )
{
$pid= mtr_spawn($exe, $args, "",