diff options
author | unknown <tulin@dl145c.mysql.com> | 2005-09-12 14:03:23 +0200 |
---|---|---|
committer | unknown <tulin@dl145c.mysql.com> | 2005-09-12 14:03:23 +0200 |
commit | 0a3202bedfbe3666e29690b12ce94123e73f8945 (patch) | |
tree | 172cfdfde5cfeb46cc46c6ab16f966372bb85439 /ndb | |
parent | 39c2107eb2cbe7610294facf478848481f9d2566 (diff) | |
download | mariadb-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.hpp | 2 | ||||
-rw-r--r-- | ndb/src/mgmapi/mgmapi.cpp | 3 |
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; } |