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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2fe860e8
Commit
2fe860e8
authored
Apr 30, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'no DBUG_RETURN' warning fixed
parent
62b4383b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage/ndb/src/mgmapi/mgmapi.cpp
storage/ndb/src/mgmapi/mgmapi.cpp
+4
-4
No files found.
storage/ndb/src/mgmapi/mgmapi.cpp
View file @
2fe860e8
...
@@ -394,7 +394,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
...
@@ -394,7 +394,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
}
}
out
.
println
(
""
);
out
.
println
(
""
);
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
Parser_t
::
Context
ctx
;
Parser_t
::
Context
ctx
;
ParserDummy
session
(
handle
->
socket
);
ParserDummy
session
(
handle
->
socket
);
...
@@ -403,7 +403,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
...
@@ -403,7 +403,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
const
Properties
*
p
=
parser
.
parse
(
ctx
,
session
);
const
Properties
*
p
=
parser
.
parse
(
ctx
,
session
);
if
(
p
==
NULL
){
if
(
p
==
NULL
){
if
(
!
ndb_mgm_is_connected
(
handle
))
{
if
(
!
ndb_mgm_is_connected
(
handle
))
{
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_RETURN
(
NULL
);
DBUG_RETURN
(
NULL
);
}
}
else
else
...
@@ -413,7 +413,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
...
@@ -413,7 +413,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
||
ctx
.
m_status
==
Parser_t
::
NoLine
)
||
ctx
.
m_status
==
Parser_t
::
NoLine
)
{
{
ndb_mgm_disconnect
(
handle
);
ndb_mgm_disconnect
(
handle
);
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_RETURN
(
NULL
);
DBUG_RETURN
(
NULL
);
}
}
/**
/**
...
@@ -438,7 +438,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
...
@@ -438,7 +438,7 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
if
(
p
&&
(
in
.
timedout
()
||
out
.
timedout
()))
if
(
p
&&
(
in
.
timedout
()
||
out
.
timedout
()))
delete
p
;
delete
p
;
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_
CHECK_TIMEDOUT_RET
(
handle
,
in
,
out
,
NULL
);
DBUG_RETURN
(
p
);
DBUG_RETURN
(
p
);
}
}
...
...
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