Commit 04ca0e56 authored by unknown's avatar unknown

Fix for bug #17353.


scripts/mysqld_safe.sh:
  Moved core file changing command outside of root-user only conditional
parent a3a671c1
...@@ -321,10 +321,13 @@ then ...@@ -321,10 +321,13 @@ then
ulimit -n $open_files ulimit -n $open_files
args="--open-files-limit=$open_files $args" args="--open-files-limit=$open_files $args"
fi fi
if test -n "$core_file_size" fi
then
# 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 ulimit -c $core_file_size
fi
fi fi
# #
......
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