Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
mariadb
Commits
659bdc4e
Commit
659bdc4e
authored
19 years ago
by
unknown
Browse files
Options
Download
Email Patches
Plain Diff
added missing signal to VoidFs
parent
b1be94e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
+1
-0
ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
+16
-0
No files found.
ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
View file @
659bdc4e
...
...
@@ -104,6 +104,7 @@ protected:
BLOCK_DEFINES
(
VoidFs
);
// The signal processing functions
void
execREAD_CONFIG_REQ
(
Signal
*
signal
);
void
execDUMP_STATE_ORD
(
Signal
*
signal
);
void
execFSOPENREQ
(
Signal
*
signal
);
void
execFSCLOSEREQ
(
Signal
*
signal
);
...
...
This diff is collapsed.
Click to expand it.
ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
View file @
659bdc4e
...
...
@@ -44,6 +44,7 @@ VoidFs::VoidFs(const Configuration & conf) :
BLOCK_CONSTRUCTOR
(
VoidFs
);
// Set received signals
addRecSignal
(
GSN_READ_CONFIG_REQ
,
&
VoidFs
::
execREAD_CONFIG_REQ
);
addRecSignal
(
GSN_DUMP_STATE_ORD
,
&
VoidFs
::
execDUMP_STATE_ORD
);
addRecSignal
(
GSN_STTOR
,
&
VoidFs
::
execSTTOR
);
addRecSignal
(
GSN_FSOPENREQ
,
&
VoidFs
::
execFSOPENREQ
);
...
...
@@ -60,6 +61,21 @@ VoidFs::~VoidFs()
{
}
void
VoidFs
::
execREAD_CONFIG_REQ
(
Signal
*
signal
)
{
const
ReadConfigReq
*
req
=
(
ReadConfigReq
*
)
signal
->
getDataPtr
();
Uint32
ref
=
req
->
senderRef
;
Uint32
senderData
=
req
->
senderData
;
ReadConfigConf
*
conf
=
(
ReadConfigConf
*
)
signal
->
getDataPtrSend
();
conf
->
senderRef
=
reference
();
conf
->
senderData
=
senderData
;
sendSignal
(
ref
,
GSN_READ_CONFIG_CONF
,
signal
,
ReadConfigConf
::
SignalLength
,
JBB
);
}
void
VoidFs
::
execSTTOR
(
Signal
*
signal
)
{
...
...
This diff is collapsed.
Click to expand it.
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