Blame SOURCES/mysql-socket-removal.patch

6f9931
Since we support more versions of the daemon running with the same socket file,
6f9931
we can't blindly remove the socket file. MariaDB doesn't do it, so let's don't
6f9931
do it here as well.
6f9931
6f9931
RHBZ#1045401
6f9931
6f9931
 
b7293d
diff -up mysql-5.5.52/scripts/mysqld_safe.sh.patch31 mysql-5.5.52/scripts/mysqld_safe.sh
b7293d
--- mysql-5.5.52/scripts/mysqld_safe.sh.patch31	2016-09-18 19:49:13.818534828 +0200
b7293d
+++ mysql-5.5.52/scripts/mysqld_safe.sh	2016-09-18 19:50:33.544748288 +0200
b7293d
@@ -789,9 +789,6 @@ have_sleep=1
6f9931
 while true
6f9931
 do
b7293d
   # Some extra safety
b7293d
-  if [ ! -h "$safe_mysql_unix_port" ]; then
b7293d
-    rm -f "$safe_mysql_unix_port"
b7293d
-  fi
b7293d
   if [ ! -h "$pid_file" ]; then
b7293d
     rm -f "$pid_file"
b7293d
   fi