MySQL 5.6.14 Source Code Document
|
Reads initial config file and returns Config object. More...
#include <InitConfigFileParser.hpp>
Classes | |
struct | Context |
Public Types | |
enum | ContextSectionType { Undefined, Section, DefaultSection } |
Public Member Functions | |
InitConfigFileParser () | |
Config * | parseConfig (FILE *file) |
Config * | parseConfig (const char *filename) |
Config * | parse_mycnf () |
Static Public Member Functions | |
static bool | convertStringToUint64 (const char *s, Uint64 &val, Uint32 log10base=0) |
static bool | convertStringToBool (const char *s, bool &val) |
Reads initial config file and returns Config object.
This class contains one public method InitConfigFileParser::parseConfig, which reads an initial configuration file and returns a Config object if the config file has correct syntax and semantic.
Definition at line 38 of file InitConfigFileParser.hpp.
Parser context struct
Definition at line 60 of file InitConfigFileParser.hpp.
InitConfigFileParser::InitConfigFileParser | ( | ) |
Constructor
Definition at line 38 of file InitConfigFileParser.cpp.
Config * InitConfigFileParser::parse_mycnf | ( | ) |
Add ndbd, ndb_mgmd, api/mysqld
Definition at line 808 of file InitConfigFileParser.cpp.
Config * InitConfigFileParser::parseConfig | ( | FILE * | file | ) |
Reads the initial configuration file, checks syntax and semantic and stores internally the values of all parameters.
Definition at line 79 of file InitConfigFileParser.cpp.