Commit 2664605c 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 bf8f30b5
...@@ -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
ulimit -c $core_file_size # Try to set the core file size (even if we aren't root) because many systems
fi # don't specify a hard limit on core file size.
if test -n "$core_file_size"
then
ulimit -c $core_file_size
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