MySQL 8.0.39
Source Code Documentation
my_file.cc File Reference
#include "my_config.h"
#include <string.h>
#include <sys/types.h>
#include <algorithm>
#include <iostream>
#include <limits>
#include <thread>
#include <vector>
#include "sql/malloc_allocator.h"
#include "mutex_lock.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_macros.h"
#include "my_sys.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysql/service_mysql_alloc.h"
#include "mysys/my_static.h"
#include "mysys/mysys_priv.h"
#include "sql/stateless_allocator.h"
#include <sys/resource.h>

Classes

class  anonymous_namespace{my_file.cc}::FileInfo
 Rule of 5 class. More...
 

Namespaces

namespace  anonymous_namespace{my_file.cc}
 
namespace  file_info
 

Typedefs

using anonymous_namespace{my_file.cc}::FileInfoAllocator = Malloc_allocator< FileInfo >
 
using anonymous_namespace{my_file.cc}::FileInfoVector = std::vector< FileInfo, FileInfoAllocator >
 

Functions

uint anonymous_namespace{my_file.cc}::SetOsLimitMaxOpenFiles (uint max_file_limit)
 Set the OS limit on the number of open files. More...
 
const char * my_filename (File fd)
 Get filename of file. More...
 
uint my_set_max_open_files (uint files)
 Sets the OS limit on the number of open files (if supported). More...
 
void MyFileInit ()
 Constructs static objects. More...
 
void MyFileEnd ()
 Destroys static objects. More...
 

Variables

FileInfoVector * anonymous_namespace{my_file.cc}::fivp = nullptr
 

Function Documentation

◆ MyFileEnd()

void MyFileEnd ( )

Destroys static objects.

◆ MyFileInit()

void MyFileInit ( )

Constructs static objects.