Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f80e113d
Commit
f80e113d
authored
Sep 12, 2005
by
tulin@dl145c.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed a few aborts from mgmapi
corrected typo in ndb Parser
parent
fd85a825
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
ndb/include/util/Parser.hpp
ndb/include/util/Parser.hpp
+1
-1
ndb/src/mgmapi/mgmapi.cpp
ndb/src/mgmapi/mgmapi.cpp
+0
-3
No files found.
ndb/include/util/Parser.hpp
View file @
f80e113d
...
@@ -285,7 +285,7 @@ template<class T>
...
@@ -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
ndb/src/mgmapi/mgmapi.cpp
View file @
f80e113d
...
@@ -638,12 +638,10 @@ ndb_mgm_get_status(NdbMgmHandle handle)
...
@@ -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)
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment