Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2023 05/10/07 17:43:59 tomas@stripped +2 -0
added missing signal to VoidFs
ndb/src/kernel/blocks/ndbfs/VoidFs.cpp
1.4 05/10/07 17:43:52 tomas@stripped +16 -0
added missing signal to VoidFs
ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp
1.4 05/10/07 17:43:52 tomas@stripped +1 -0
added missing signal to VoidFs
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: tomas
# Host: poseidon.ndb.mysql.com
# Root: /home/tomas/mysql-5.0
--- 1.3/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp 2005-10-04 20:05:53 +02:00
+++ 1.4/ndb/src/kernel/blocks/ndbfs/Ndbfs.hpp 2005-10-07 17:43:52 +02:00
@@ -104,6 +104,7 @@
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);
--- 1.3/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp 2005-10-03 20:04:26 +02:00
+++ 1.4/ndb/src/kernel/blocks/ndbfs/VoidFs.cpp 2005-10-07 17:43:52 +02:00
@@ -44,6 +44,7 @@
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);
@@ -58,6 +59,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
| Thread |
|---|
| • bk commit into 5.0 tree (tomas:1.2023) | tomas | 7 Oct |