summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/CommandInterpreter.hpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-11-29 15:14:43 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-11-29 15:14:43 +0000
commit3d3ad211d8dbe1789f0888dc1a34181f27e19726 (patch)
treecb444143a5d81b56c4d45b2019d8401d139c0175 /ndb/src/mgmsrv/CommandInterpreter.hpp
parentada600e852498c1ce37566fb07a6c33e4fc29335 (diff)
downloadmariadb-git-3d3ad211d8dbe1789f0888dc1a34181f27e19726.tar.gz
aligned backup errorcodes with rest of ndb error codes giving it range from 1300
added new error type "configuration or application error" Added check if backup is issued during diskless mode, backup refuse returned added possibility to get error code as a result from management client addded possibility to set connecstring with CONNECT command changed to use strcasecmp instead of strcmp added possibility to run one command on cammand client to ndb_mgm and get an errorcode of command fails made thread safe veriosn of getErrorText in management server aligned backup errorcodes with rest of ndb error codes giving it range from 1300 print error message from regular ndberror struct added new arrer type "cofiguration or application error" commented on allocaded ranges for errors ndb/include/kernel/signaldata/BackupImpl.hpp: aligned backup errorcodes with rest of ndb error codes giving it range from 1300 ndb/include/kernel/signaldata/BackupSignalData.hpp: aligned backup errorcodes with rest of ndb error codes giving it range from 1300 ndb/include/ndbapi/ndberror.h: added new error type "configuration or application error" ndb/src/kernel/blocks/backup/Backup.cpp: Added check if backup is issued during diskless mode, backup refuse returned ndb/src/kernel/blocks/backup/Backup.hpp: member variable in backup block to indicate diskless or not ndb/src/kernel/blocks/backup/BackupInit.cpp: Added check if backup is issued during diskless mode, backup refuse returned ndb/src/mgmclient/CommandInterpreter.cpp: added possibility to get error code as a result from management client addded possibility to set connecstring with CONNECT command changed to use strcasecmp instead of strcmp ndb/src/mgmclient/main.cpp: added possibility to run one command on cammand client to ndb_mgm and get an errorcode of command fails ndb/src/mgmclient/ndb_mgmclient.hpp: added possibility to get error code as a result from management client ndb/src/mgmsrv/CommandInterpreter.cpp: made thread safe veriosn of getErrorText in management server ndb/src/mgmsrv/CommandInterpreter.hpp: made thread safe veriosn of getErrorText in management server ndb/src/mgmsrv/MgmtSrvr.cpp: aligned backup errorcodes with rest of ndb error codes giving it range from 1300 print error message from regular ndberror struct ndb/src/mgmsrv/MgmtSrvr.hpp: made thread safe veriosn of getErrorText in management server ndb/src/mgmsrv/Services.cpp: made thread safe veriosn of getErrorText in management server ndb/src/mgmsrv/Services.hpp: made thread safe veriosn of getErrorText in management server ndb/src/ndbapi/ndberror.c: added new arrer type "cofiguration or application error" commented on allocaded ranges for errors aligned backup errors with rest of errors
Diffstat (limited to 'ndb/src/mgmsrv/CommandInterpreter.hpp')
-rw-r--r--ndb/src/mgmsrv/CommandInterpreter.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/CommandInterpreter.hpp b/ndb/src/mgmsrv/CommandInterpreter.hpp
index db23f76a5bd..1a5184361d6 100644
--- a/ndb/src/mgmsrv/CommandInterpreter.hpp
+++ b/ndb/src/mgmsrv/CommandInterpreter.hpp
@@ -55,6 +55,9 @@ public:
int readAndExecute();
private:
+ char m_err_str[1024];
+ const char *get_error_text(int err_no);
+
/**
* Read a string, and return a pointer to it.
*