MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LocalConfig Struct Reference
Collaboration diagram for LocalConfig:

Public Member Functions

bool init (const char *connectString=0, const char *fileName=0)
void printError () const
void printUsage () const
void setError (int lineNumber, const char *_msg)
bool readConnectString (const char *, const char *info)
bool readFile (const char *file, bool &fopenError)
bool parseLine (char *line, int lineNumber)
bool parseNodeId (const char *buf)
bool parseHostName (const char *buf)
bool parseBindAddress (const char *buf)
bool parseFileName (const char *buf)
bool parseString (const char *buf, BaseString &err)
char * makeConnectString (char *buf, int sz)

Public Attributes

int _ownNodeId
Vector< MgmtSrvrIdids
int error_line
char error_msg [256]
BaseString bind_address
unsigned int bind_address_port

Detailed Description

Definition at line 42 of file LocalConfig.hpp.

Member Function Documentation

bool LocalConfig::init ( const char *  connectString = 0,
const char *  fileName = 0 
)

Escalation:

  1. Check connectString
  2. Check given filename
  3. Check environment variable NDB_CONNECTSTRING
  4. Check Ndb.cfg in NDB_HOME
  5. Check Ndb.cfg in cwd
  6. Check defaultConnectString

Definition at line 34 of file LocalConfig.cpp.

Here is the caller graph for this function:


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