Skip to content

Commit e7f7278

Browse files
committed
ndb_mgm
- remove unimplemented function definitions - remove unused 'Ndb_mgmclient::execute'
1 parent b1146fc commit e7f7278

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

storage/ndb/src/mgmclient/CommandInterpreter.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ class CommandInterpreter {
101101
int executePurge(char* parameters);
102102
int executeConnect(char* parameters, bool interactive);
103103
int executeShutdown(char* parameters);
104-
void executeRun(char* parameters);
105-
void executeInfo(char* parameters);
106104
void executeClusterLog(char* parameters);
107105

108106
public:
@@ -133,11 +131,6 @@ class CommandInterpreter {
133131
int *node_ids, int no_of_nodes);
134132
int executeStart(Vector<BaseString> &command_list, unsigned command_pos,
135133
int *node_ids, int no_of_nodes);
136-
137-
int executeRep(char* parameters);
138-
139-
void executeCpc(char * parameters);
140-
141134
public:
142135
bool connect(bool interactive);
143136
bool disconnect();
@@ -223,17 +216,6 @@ Ndb_mgmclient::disconnect()
223216

224217
#include "MgmtErrorReporter.hpp"
225218

226-
int Ndb_mgmclient::execute(int argc, char** argv, int _try_reconnect, bool interactive, int *error)
227-
{
228-
if (argc <= 0)
229-
return 0;
230-
BaseString _line(argv[0]);
231-
for (int i= 1; i < argc; i++)
232-
{
233-
_line.appfmt(" %s", argv[i]);
234-
}
235-
return m_cmd->execute(_line.c_str(),_try_reconnect, interactive, error);
236-
}
237219

238220
/*****************************************************************************
239221
* HELP

storage/ndb/src/mgmclient/ndb_mgmclient.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class Ndb_mgmclient
2626
Ndb_mgmclient(const char*,int verbose=0);
2727
~Ndb_mgmclient();
2828
int execute(const char *_line, int _try_reconnect=-1, bool interactive=1, int *error= 0);
29-
int execute(int argc, char** argv, int _try_reconnect=-1, bool interactive=1, int *error= 0);
3029
int disconnect();
3130
private:
3231
CommandInterpreter *m_cmd;

0 commit comments

Comments
 (0)