mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +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
|
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
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue