MySQL 26.7.0
Source Code Documentation
ib::fil Namespace Reference

Classes

class  Pages_persistence
 
class  Pages_persistence_interface
 Interface for handling operations related to page persistence. More...
 
class  Pages_persistence_monitoring
 
class  Pages_persistence_sys_vars_handler
 
class  Partition_file_names_upgrader
 A helper class to handle partition file names during server upgrade. More...
 
class  Scanned_tablespace_dir_and_files
 A directory and tablespace files discovered under it during startup. More...
 
class  Scanned_tablespace_dirs
 Directories scanned during startup and the files discovered. More...
 
class  Tablespace_node_handle
 
class  Tablespace_node_handle_interface
 
class  Tablespace_scanning
 Represents infrastructure needed for tablespace files scanning during server bootstrap. More...
 
class  Tablespaces_nodes
 
class  Tablespaces_nodes_interface
 Manages low-level storage for Tablespaces. More...
 

Typedefs

using Space_id_set = std::set< space_id_t >
 
using Dirs = std::vector< std::string >
 
using Scanned_files = std::vector< std::pair< uint16_t, std::string > >
 

Functions

void set_tablespaces_nodes (ut::unique_ptr< Tablespaces_nodes_interface > new_tablepsaces_nodes)
 
void set_pages_persistence (ut::unique_ptr< Pages_persistence_interface > new_persistence)
 Sets the implementation of the Pages_persistence_interface. More...
 
static Tablespaces_nodes_interface::Status remove_if_exists (const char *path)
 
constexpr const char * to_string (ib::fil::Tablespaces_nodes_interface::Node_error error)
 

Typedef Documentation

◆ Dirs

using ib::fil::Dirs = typedef std::vector<std::string>

◆ Scanned_files

using ib::fil::Scanned_files = typedef std::vector<std::pair<uint16_t, std::string> >

◆ Space_id_set

using ib::fil::Space_id_set = typedef std::set<space_id_t>

Function Documentation

◆ remove_if_exists()

static Tablespaces_nodes_interface::Status ib::fil::remove_if_exists ( const char *  path)
static

◆ set_pages_persistence()

void ib::fil::set_pages_persistence ( ut::unique_ptr< Pages_persistence_interface new_persistence)

Sets the implementation of the Pages_persistence_interface.

It can be called only once, that is, once set, it is impossible to set other implementation.

Parameters
[in]new_persistenceNew implementation to use.

◆ set_tablespaces_nodes()

void ib::fil::set_tablespaces_nodes ( ut::unique_ptr< Tablespaces_nodes_interface new_tablepsaces_nodes)

◆ to_string()

constexpr const char * ib::fil::to_string ( ib::fil::Tablespaces_nodes_interface::Node_error  error)
constexpr