diff options
author | unknown <igreenhoe@mysql.com> | 2006-06-28 08:32:41 -0700 |
---|---|---|
committer | unknown <igreenhoe@mysql.com> | 2006-06-28 08:32:41 -0700 |
commit | 15472a6715d1b9c75156a8f5ebd9a0aa510505b0 (patch) | |
tree | 68fa1ae05661b41f933d69130f63d3242870349a /scripts | |
parent | 5312b349106045f9065335abfe49769911231da9 (diff) | |
parent | 2664605c04ad7ccc5fc2977026cbd62f9d86f0cc (diff) | |
download | mariadb-git-15472a6715d1b9c75156a8f5ebd9a0aa510505b0.tar.gz |
Merge igreenhoe@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/greenman/workspace-mysql/mysql/pending/bug-5.0-17353
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqld_safe.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index a584c384712..02a961dc3ec 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -321,10 +321,13 @@ then 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 # |