MySQL 8.0.40
Source Code Documentation
|
Classes | |
class | FileInfo |
Rule of 5 class. More... | |
Typedefs | |
using | FileInfoAllocator = Malloc_allocator< FileInfo > |
using | FileInfoVector = std::vector< FileInfo, FileInfoAllocator > |
Functions | |
uint | SetOsLimitMaxOpenFiles (uint max_file_limit) |
Set the OS limit on the number of open files. More... | |
Variables | |
FileInfoVector * | fivp = nullptr |
using anonymous_namespace{my_file.cc}::FileInfoAllocator = typedef Malloc_allocator<FileInfo> |
using anonymous_namespace{my_file.cc}::FileInfoVector = typedef std::vector<FileInfo, FileInfoAllocator> |
Set the OS limit on the number of open files.
On POSIX systems this calls setrlimit(RLIMIT_NOFILE, ...). On Windows there is no corresponding api so the requested value is returned. The assumption being that the request will never be larger than OS_FILE_LIMIT,
max_file_limit | Files to open |
FileInfoVector* anonymous_namespace{my_file.cc}::fivp = nullptr |