Commit 2664605c authored by unknown's avatar unknown
Browse files

Fix for bug #17353.


scripts/mysqld_safe.sh:
  Moved core file changing command outside of root-user only conditional
parent bf8f30b5
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -321,11 +321,14 @@ then
    ulimit -n $open_files
    args="--open-files-limit=$open_files $args"
  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
fi

#
# If there exists an old pid file, check if the daemon is already running