List:Commits« Previous MessageNext Message »
From:Ian Greenhoe Date:April 18 2006 4:57am
Subject:bk commit into 5.0 tree (igreenhoe:1.2164) BUG#17353
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of greenman. When greenman does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2164 06/04/17 19:57:50 igreenhoe@stripped +1 -0
  Fix for bug #17353.

  scripts/mysqld_safe.sh
    1.82 06/04/17 19:57:45 igreenhoe@stripped +7 -4
    Moved core file changing command outside of root-user only conditional

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	igreenhoe
# Host:	anubis.greendragongames.com
# Root:	/home/greenman/workspace-mysql/mysql/bug-5.0-17353

--- 1.81/scripts/mysqld_safe.sh	2006-03-29 20:48:27 -08:00
+++ 1.82/scripts/mysqld_safe.sh	2006-04-17 19:57:45 -07:00
@@ -321,10 +321,13 @@
     ulimit -n $open_files
     args="--open-files-limit=$open_files $args"
   fi
-  if test -n "$core_file_size"
-  then
-    ulimit -c $core_file_size
-  fi
+fi
+
+# Try to set the core file size (even if we aren't root) because many systems
+# don't specify a hard limit on core file size.
+if test -n "$core_file_size"
+then
+  ulimit -c $core_file_size
 fi
 
 #
Thread
bk commit into 5.0 tree (igreenhoe:1.2164) BUG#17353Ian Greenhoe18 Apr