MySQL 8.0.39
Source Code Documentation
Plugin_and_data_dir_option_parser Class Referencefinal

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

Public Member Functions

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

Private Attributes

char * datadir_
 
char * plugindir_
 
char save_homedir_ [FN_REFLEN+1]
 
char save_plugindir_ [FN_REFLEN+1]
 
bool valid_
 

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

◆ Plugin_and_data_dir_option_parser()

Plugin_and_data_dir_option_parser::Plugin_and_data_dir_option_parser ( int  argc,
char **  argv 
)
inline

◆ ~Plugin_and_data_dir_option_parser()

Plugin_and_data_dir_option_parser::~Plugin_and_data_dir_option_parser ( )
inline

Member Function Documentation

◆ valid()

bool Plugin_and_data_dir_option_parser::valid ( ) const
inline

Member Data Documentation

◆ datadir_

char* Plugin_and_data_dir_option_parser::datadir_
private

◆ plugindir_

char* Plugin_and_data_dir_option_parser::plugindir_
private

◆ save_homedir_

char Plugin_and_data_dir_option_parser::save_homedir_[FN_REFLEN+1]
private

◆ save_plugindir_

char Plugin_and_data_dir_option_parser::save_plugindir_[FN_REFLEN+1]
private

◆ valid_

bool Plugin_and_data_dir_option_parser::valid_
private

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