MySQL 9.6.0
Source Code Documentation
Manifest_file_option_parser_helper Class Referencefinal

Helper class for loading keyring component Keyring component is loaded after minimal chassis initialization. More...

#include <manifest_file_option_parser_helper.h>

Public Member Functions

 Manifest_file_option_parser_helper (int argc, char **argv)
 
 ~Manifest_file_option_parser_helper ()
 
bool valid () const
 

Static Private Member Functions

static bool get_one_option (int optid, const struct my_option *opt, char *argument)
 

Private Attributes

char save_datadir_ [mysql_real_data_home_size]
 
char save_plugindir_ [opt_plugin_dir_size]
 
bool valid_
 

Static Private Attributes

static constexpr size_t mysql_real_data_home_size
 
static constexpr size_t opt_plugin_dir_size {std::size(opt_plugin_dir)}
 

Detailed Description

Helper class for loading keyring component Keyring component is loaded after minimal chassis initialization.

At this time, home dir and plugin dir may not be initialized.

This helper class sets them temporarily by reading configurations and resets them in destructor.

Constructor & Destructor Documentation

◆ Manifest_file_option_parser_helper()

Manifest_file_option_parser_helper::Manifest_file_option_parser_helper ( int  argc,
char **  argv 
)

◆ ~Manifest_file_option_parser_helper()

Manifest_file_option_parser_helper::~Manifest_file_option_parser_helper ( )

Member Function Documentation

◆ get_one_option()

static bool Manifest_file_option_parser_helper::get_one_option ( int  optid,
const struct my_option opt,
char *  argument 
)
staticprivate

◆ valid()

bool Manifest_file_option_parser_helper::valid ( ) const
inline

Member Data Documentation

◆ mysql_real_data_home_size

constexpr size_t Manifest_file_option_parser_helper::mysql_real_data_home_size
staticconstexprprivate
Initial value:
{
char mysql_real_data_home[FN_REFLEN]
Definition: mysqld.cc:1526
size_t size(const char *const c)
Definition: base64.h:46

◆ opt_plugin_dir_size

constexpr size_t Manifest_file_option_parser_helper::opt_plugin_dir_size {std::size(opt_plugin_dir)}
staticconstexprprivate

◆ save_datadir_

char Manifest_file_option_parser_helper::save_datadir_[mysql_real_data_home_size]
private

◆ save_plugindir_

char Manifest_file_option_parser_helper::save_plugindir_[opt_plugin_dir_size]
private

◆ valid_

bool Manifest_file_option_parser_helper::valid_
private

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