• Georgi Kodinov's avatar
    Bug #47095: Can't open_files_limit really be larger than 65535? · 17a21c4f
    Georgi Kodinov authored
    Several problems addressed:
    
    1. The maximum value for --open_files_limit on non-windows boxes
    is now raised to UINT_MAX (the maximum possible without significant
    changes in the code). The maximum value on windows is kept to be
    2048 due to a known limitation (bug 24509).
    
    2. mysqld_safe now supports --open_files_limit=xx in addition to 
    --open-files-limit=xx
    
    3. mysqld_safe always passes through --open[_-]files[_-]limit
    to the underlying mysqld. It used to pass it through only if it 
    the user running the script has access to the root directory or
    there was an --user argument specified.
    
    4. Fixed a prototype in my_file.c to match its counterpart in 
    the other #ifdef branch.
    17a21c4f
mysqld_safe.sh 16.2 KB