removed a few aborts from mgmapi

corrected typo in ndb Parser
parent fd85a825
......@@ -285,7 +285,7 @@ template<class T>
inline
void
Parser<T>::setBreakOnInvalidArg(bool v){
impl->m_breakOnInvalidArg;
impl->m_breakOnInvalidArg = v;
}
#endif
......@@ -638,12 +638,10 @@ ndb_mgm_get_status(NdbMgmHandle handle)
Vector<BaseString> split;
tmp.split(split, ":");
if(split.size() != 2){
abort();
return NULL;
}
if(!(split[0].trim() == "nodes")){
abort();
return NULL;
}
......@@ -692,7 +690,6 @@ ndb_mgm_get_status(NdbMgmHandle handle)
if(i+1 != noOfNodes){
free(state);
abort();
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment