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
35e655ce
Commit
35e655ce
authored
Dec 06, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main
into mysql.com:/home/stewart/Documents/MySQL/5.0/bug15512
parents
bf244baa
bb7721c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
+10
-7
No files found.
ndb/src/kernel/blocks/qmgr/QmgrMain.cpp
View file @
35e655ce
...
@@ -2030,29 +2030,32 @@ void Qmgr::execAPI_REGREQ(Signal* signal)
...
@@ -2030,29 +2030,32 @@ void Qmgr::execAPI_REGREQ(Signal* signal)
}
//Qmgr::execAPI_REGREQ()
}
//Qmgr::execAPI_REGREQ()
void
void
Qmgr
::
execAPI_VERSION_REQ
(
Signal
*
signal
)
{
Qmgr
::
execAPI_VERSION_REQ
(
Signal
*
signal
)
{
jamEntry
();
jamEntry
();
ApiVersionReq
*
const
req
=
(
ApiVersionReq
*
)
signal
->
getDataPtr
();
ApiVersionReq
*
const
req
=
(
ApiVersionReq
*
)
signal
->
getDataPtr
();
Uint32
senderRef
=
req
->
senderRef
;
Uint32
senderRef
=
req
->
senderRef
;
Uint32
nodeId
=
req
->
nodeId
;
Uint32
nodeId
=
req
->
nodeId
;
ApiVersionConf
*
conf
=
(
ApiVersionConf
*
)
req
;
ApiVersionConf
*
conf
=
(
ApiVersionConf
*
)
req
;
if
(
getNodeInfo
(
nodeId
).
m_connected
)
if
(
getNodeInfo
(
nodeId
).
m_connected
)
{
conf
->
version
=
getNodeInfo
(
nodeId
).
m_version
;
conf
->
version
=
getNodeInfo
(
nodeId
).
m_version
;
struct
in_addr
in
=
globalTransporterRegistry
.
get_connect_address
(
nodeId
);
conf
->
inet_addr
=
in
.
s_addr
;
}
else
else
{
conf
->
version
=
0
;
conf
->
version
=
0
;
conf
->
inet_addr
=
0
;
}
conf
->
nodeId
=
nodeId
;
conf
->
nodeId
=
nodeId
;
struct
in_addr
in
=
globalTransporterRegistry
.
get_connect_address
(
nodeId
);
conf
->
inet_addr
=
in
.
s_addr
;
sendSignal
(
senderRef
,
sendSignal
(
senderRef
,
GSN_API_VERSION_CONF
,
GSN_API_VERSION_CONF
,
signal
,
signal
,
ApiVersionConf
::
SignalLength
,
JBB
);
ApiVersionConf
::
SignalLength
,
JBB
);
}
}
...
...
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