summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tulin@dl145c.mysql.com>2005-09-12 14:03:23 +0200
committerunknown <tulin@dl145c.mysql.com>2005-09-12 14:03:23 +0200
commit0a3202bedfbe3666e29690b12ce94123e73f8945 (patch)
tree172cfdfde5cfeb46cc46c6ab16f966372bb85439 /ndb
parent39c2107eb2cbe7610294facf478848481f9d2566 (diff)
downloadmariadb-git-0a3202bedfbe3666e29690b12ce94123e73f8945.tar.gz
removed a few aborts from mgmapi
corrected typo in ndb Parser
Diffstat (limited to 'ndb')
-rw-r--r--ndb/include/util/Parser.hpp2
-rw-r--r--ndb/src/mgmapi/mgmapi.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/ndb/include/util/Parser.hpp b/ndb/include/util/Parser.hpp
index c117498e1ba..3baf7601a6c 100644
--- a/ndb/include/util/Parser.hpp
+++ b/ndb/include/util/Parser.hpp
@@ -285,7 +285,7 @@ template<class T>
inline
void
Parser<T>::setBreakOnInvalidArg(bool v){
- impl->m_breakOnInvalidArg;
+ impl->m_breakOnInvalidArg = v;
}
#endif
diff --git a/ndb/src/mgmapi/mgmapi.cpp b/ndb/src/mgmapi/mgmapi.cpp
index bf78adec970..06b534ac0ca 100644
--- a/ndb/src/mgmapi/mgmapi.cpp
+++ b/ndb/src/mgmapi/mgmapi.cpp
@@ -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;
}