• Vladislav Vaintroub's avatar
    Backport Fix for Bug#24509 - 2048 file descriptor limit on windows needs increasing. · 4171483b
    Vladislav Vaintroub authored
    The patch replaces the use of the POSIX I/O interfaces in mysys on Windows with 
    the Win32 API calls (CreateFile, WriteFile, etc). The Windows HANDLE for the open
     file is stored in the my_file_info struct, along with a flag for append mode 
    (because the Windows API does not support opening files in append mode in all cases)
    The default max open files has been increased to 16384 and can be increased further
    by setting --max-open-files=<value> during the server start.
    
    Noteworthy benefit of this patch is that it removes limits from the table_cache size - 
    allowing for more simultaneus users
    4171483b
my_global.h 54.4 KB