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
3bee1891
Commit
3bee1891
authored
Jun 02, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#3662
Fixed bug introduced with upgrade code
parent
d369c2f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
+12
-9
No files found.
ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp
View file @
3bee1891
...
...
@@ -72,11 +72,11 @@ static BlockInfo ALL_BLOCKS[] = {
{
NDBCNTR_REF
,
0
,
1000
,
1999
},
{
QMGR_REF
,
1
,
1
,
999
},
{
CMVMI_REF
,
1
,
9000
,
9999
},
{
TRIX_REF
,
1
},
{
TRIX_REF
,
1
,
0
,
0
},
{
BACKUP_REF
,
1
,
10000
,
10999
},
{
DBUTIL_REF
,
1
,
11000
,
11999
},
{
SUMA_REF
,
1
,
13000
,
13999
},
{
GREP_REF
,
1
},
{
GREP_REF
,
1
,
0
,
0
},
{
DBTUX_REF
,
1
,
12000
,
12999
}
};
...
...
@@ -450,13 +450,7 @@ void Ndbcntr::execREAD_NODESCONF(Signal* signal)
c_start
.
m_startPartitionedTimeout
=
setTimeout
(
c_start
.
m_startTime
,
to_2
);
c_start
.
m_startFailureTimeout
=
setTimeout
(
c_start
.
m_startTime
,
to_3
);
if
(
getNodeInfo
(
cmasterNodeId
).
m_version
<
MAKE_VERSION
(
3
,
5
,
0
)){
/**
* Old NDB running
*/
UpgradeStartup
::
sendCmAppChg
(
*
this
,
signal
,
0
);
// ADD
return
;
}
UpgradeStartup
::
sendCmAppChg
(
*
this
,
signal
,
0
);
// ADD
sendCntrStartReq
(
signal
);
...
...
@@ -2543,6 +2537,15 @@ void Ndbcntr::Missra::sendNextSTTOR(Signal* signal){
void
UpgradeStartup
::
sendCmAppChg
(
Ndbcntr
&
cntr
,
Signal
*
signal
,
Uint32
startLevel
){
if
(
cntr
.
getNodeInfo
(
cntr
.
cmasterNodeId
).
m_version
>=
MAKE_VERSION
(
3
,
5
,
0
)){
jam
();
return
;
}
/**
* Old NDB running
*/
signal
->
theData
[
0
]
=
startLevel
;
signal
->
theData
[
1
]
=
cntr
.
getOwnNodeId
();
signal
->
theData
[
2
]
=
3
|
(
'N'
<<
8
);
...
...
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