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
84ea2f62
Commit
84ea2f62
authored
Oct 24, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed compiler warnings
parent
9e6a917f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
ndb/src/kernel/blocks/grep/Grep.cpp
ndb/src/kernel/blocks/grep/Grep.cpp
+8
-0
ndb/src/kernel/vm/Emulator.cpp
ndb/src/kernel/vm/Emulator.cpp
+1
-1
No files found.
ndb/src/kernel/blocks/grep/Grep.cpp
View file @
84ea2f62
...
...
@@ -619,6 +619,12 @@ Grep::PSCoord::execCREATE_SUBID_REF(Signal* signal) {
{
jam
();
err
=
GrepError
::
SUBSCRIPTION_ID_SUMA_FAILED_CREATE
;
}
else
{
jam
();
ndbrequire
(
false
);
/* Added since errorcode err unhandled
* TODO: fix correct errorcode
*/
err
=
GrepError
::
NO_ERROR
;
// remove compiler warning
}
SubCoordinatorPtr
subPtr
;
...
...
@@ -1819,6 +1825,7 @@ Grep::PSCoord::sendRefToSS(Signal * signal,
break
;
default:
ndbrequire
(
false
);
event
=
GrepEvent
::
Rep_Disconnect
;
// remove compiler warning
}
/**
* Finally, send an event.
...
...
@@ -1906,6 +1913,7 @@ Grep::PSPart::sendRefToPSCoord(Signal * signal,
break
;
default:
ndbrequire
(
false
);
event
=
GrepEvent
::
Rep_Disconnect
;
// remove compiler warning
}
/**
...
...
ndb/src/kernel/vm/Emulator.cpp
View file @
84ea2f62
...
...
@@ -155,7 +155,7 @@ NdbShutdown(NdbShutdownType type,
break
;
default:
ndbout
<<
"Error handler "
<<
shutting
<<
" system"
<<
" (unknown type: "
<<
type
<<
")"
<<
endl
;
<<
" (unknown type: "
<<
(
unsigned
)
type
<<
")"
<<
endl
;
type
=
NST_ErrorHandler
;
break
;
}
...
...
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