mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02: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:
parent
bf8f30b532
commit
2664605c04
1 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue