mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
removed a few aborts from mgmapi
corrected typo in ndb Parser
This commit is contained in:
parent
39c2107eb2
commit
0a3202bedf
2 changed files with 1 additions and 4 deletions
|
|
@ -285,7 +285,7 @@ template<class T>
|
||||||
inline
|
inline
|
||||||
void
|
void
|
||||||
Parser<T>::setBreakOnInvalidArg(bool v){
|
Parser<T>::setBreakOnInvalidArg(bool v){
|
||||||
impl->m_breakOnInvalidArg;
|
impl->m_breakOnInvalidArg = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -638,12 +638,10 @@ ndb_mgm_get_status(NdbMgmHandle handle)
|
||||||
Vector<BaseString> split;
|
Vector<BaseString> split;
|
||||||
tmp.split(split, ":");
|
tmp.split(split, ":");
|
||||||
if(split.size() != 2){
|
if(split.size() != 2){
|
||||||
abort();
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!(split[0].trim() == "nodes")){
|
if(!(split[0].trim() == "nodes")){
|
||||||
abort();
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -692,7 +690,6 @@ ndb_mgm_get_status(NdbMgmHandle handle)
|
||||||
|
|
||||||
if(i+1 != noOfNodes){
|
if(i+1 != noOfNodes){
|
||||||
free(state);
|
free(state);
|
||||||
abort();
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue