mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for bug #17353.
scripts/mysqld_safe.sh: Moved core file changing command outside of root-user only conditional
This commit is contained in:
@ -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
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user