Fix for Bug#17377159, ignore mysqld_safe.pid file created by mysqld_safe script

parent 9e0cd2df
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
%global mysqld_group mysql %global mysqld_group mysql
%global mysqldatadir /var/lib/mysql %global mysqldatadir /var/lib/mysql
%global release 1 %global release 2
# #
...@@ -636,7 +636,7 @@ then ...@@ -636,7 +636,7 @@ then
fi fi
if [ -z "$PID_FILE_PATT" ] if [ -z "$PID_FILE_PATT" ]
then then
PID_FILE_PATT="$mysql_datadir/*.pid" PID_FILE_PATT=`ls $mysql_datadir/*.pid 2>/dev/null | grep -v "mysqld_safe.pid"`
fi fi
# Check if we can safely upgrade. An upgrade is only safe if it's from one # Check if we can safely upgrade. An upgrade is only safe if it's from one
...@@ -1215,6 +1215,9 @@ echo "=====" >> $STATUS_HISTORY ...@@ -1215,6 +1215,9 @@ echo "=====" >> $STATUS_HISTORY
# merging BK trees) # merging BK trees)
############################################################################## ##############################################################################
%changelog %changelog
* Thu Aug 29 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Added logic to ignore mysqld_safe.pid file created by mysqld_safe script
* Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> * Fri Aug 16 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Added provides lowercase mysql tags - Added provides lowercase mysql tags
......
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