MySQL 26.7.0
Source Code Documentation
Dirs_in_datadir Class Reference

Real paths of dirs directly under the MySQL datadir (symlinks resolved) More...

#include <fil0fil.h>

Public Member Functions

bool contains (const std::string &discovered_dir) const
 Check whether a dir path matches with one of the dirs directly under the MySQL datadir. More...
 

Static Public Member Functions

static Dirs_in_datadir make ()
 Build the set of dirs directly under the MySQL datadir. More...
 

Private Types

using Dirs = std::unordered_set< std::string >
 

Private Attributes

Dirs m_dirs
 Normalized paths of all dirs directly under the MySQL datadir. More...
 

Detailed Description

Real paths of dirs directly under the MySQL datadir (symlinks resolved)

Member Typedef Documentation

◆ Dirs

using Dirs_in_datadir::Dirs = std::unordered_set<std::string>
private

Member Function Documentation

◆ contains()

bool Dirs_in_datadir::contains ( const std::string &  discovered_dir) const

Check whether a dir path matches with one of the dirs directly under the MySQL datadir.

Parameters
[in]discovered_dirdirectory path to check
Returns
true if discovered_dir resolves to a known schema directory

◆ make()

Dirs_in_datadir Dirs_in_datadir::make ( )
static

Build the set of dirs directly under the MySQL datadir.

Returns
set of real paths of dirs directly under MySQL datadir

Member Data Documentation

◆ m_dirs

Dirs Dirs_in_datadir::m_dirs
private

Normalized paths of all dirs directly under the MySQL datadir.


The documentation for this class was generated from the following files: