diff options
author | igreenhoe@mysql.com <> | 2006-06-28 08:32:41 -0700 |
---|---|---|
committer | igreenhoe@mysql.com <> | 2006-06-28 08:32:41 -0700 |
commit | 1d8e1ba3a64c4b0b99b9b8e67254244af0d32936 (patch) | |
tree | 68fa1ae05661b41f933d69130f63d3242870349a /scripts | |
parent | 763752ef2eeb89e766d7c7b731dcba4ec28880ca (diff) | |
parent | ed2432494ff892eb255a75a5bc9460afc9e03ec7 (diff) | |
download | mariadb-git-1d8e1ba3a64c4b0b99b9b8e67254244af0d32936.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 # |