|
MySQL 5.6.14 Source Code Document
|
Reads command line in management client. More...
Classes | |
| struct | CommandFunctionPair |
Public Types | |
| typedef int(CommandInterpreter::* | ExecuteFunction )(int processId, const char *param, bool all) |
Public Member Functions | |
| CommandInterpreter (const char *, int verbose) | |
| bool | execute (const char *line, int try_reconnect=-1, bool interactive=true, int *error=NULL) |
| int | executeStop (int processId, const char *parameters, bool all) |
| int | executeEnterSingleUser (char *parameters) |
| int | executeExitSingleUser (char *parameters) |
| int | executeStart (int processId, const char *parameters, bool all) |
| int | executeRestart (int processId, const char *parameters, bool all) |
| int | executeLogLevel (int processId, const char *parameters, bool all) |
| int | executeError (int processId, const char *parameters, bool all) |
| int | executeLog (int processId, const char *parameters, bool all) |
| int | executeTestOn (int processId, const char *parameters, bool all) |
| int | executeTestOff (int processId, const char *parameters, bool all) |
| int | executeStatus (int processId, const char *parameters, bool all) |
| int | executeEventReporting (int processId, const char *parameters, bool all) |
| int | executeDumpState (int processId, const char *parameters, bool all) |
| int | executeReport (int processId, const char *parameters, bool all) |
| int | executeStartBackup (char *parameters, bool interactive) |
| int | executeAbortBackup (char *parameters) |
| int | executeStop (Vector< BaseString > &command_list, unsigned command_pos, int *node_ids, int no_of_nodes) |
| int | executeRestart (Vector< BaseString > &command_list, unsigned command_pos, int *node_ids, int no_of_nodes) |
| int | executeStart (Vector< BaseString > &command_list, unsigned command_pos, int *node_ids, int no_of_nodes) |
| int | executeCreateNodeGroup (char *parameters) |
| int | executeDropNodeGroup (char *parameters) |
| bool | connect (bool interactive) |
| void | disconnect (void) |
Reads command line in management client.
For command syntax, see the HELP command.
Definition at line 33 of file CommandInterpreter.cpp.
| typedef int(CommandInterpreter::* CommandInterpreter::ExecuteFunction)(int processId, const char *param, bool all) |
A execute function definition
Definition at line 133 of file CommandInterpreter.cpp.
| CommandInterpreter::CommandInterpreter | ( | const char * | host, |
| int | verbose | ||
| ) |
Constructor
| mgmtSrvr,: | Management server to use when executing commands |
Definition at line 629 of file CommandInterpreter.cpp.
| bool CommandInterpreter::execute | ( | const char * | line, |
| int | try_reconnect = -1, |
||
| bool | interactive = true, |
||
| int * | error = NULL |
||
| ) |
Reads one line from the stream, parse the line to find a command and then calls a suitable method which executes the command.
Definition at line 1025 of file CommandInterpreter.cpp.
| int CommandInterpreter::executeStartBackup | ( | char * | parameters, |
| bool | interactive | ||
| ) |
If interactive, event listner thread is already running
Definition at line 2899 of file CommandInterpreter.cpp.
