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
6844fea5
Commit
6844fea5
authored
Oct 07, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing signal to VoidFs
parent
38fd830f
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 @
6844fea5
...
...
@@ -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
);
...
...
ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
View file @
6844fea5
...
...
@@ -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
)
{
...
...
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