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
52469dee
Commit
52469dee
authored
Mar 27, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
reformat code a bit to be more compiler friendly
parent
3aa1a59a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
+5
-8
storage/ndb/test/src/NdbRestarts.cpp
storage/ndb/test/src/NdbRestarts.cpp
+2
-2
No files found.
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
View file @
52469dee
...
@@ -2057,16 +2057,13 @@ void Dbdih::execINCL_NODECONF(Signal* signal)
...
@@ -2057,16 +2057,13 @@ void Dbdih::execINCL_NODECONF(Signal* signal)
TstartNode_or_blockref
=
signal
->
theData
[
0
];
TstartNode_or_blockref
=
signal
->
theData
[
0
];
TsendNodeId
=
signal
->
theData
[
1
];
TsendNodeId
=
signal
->
theData
[
1
];
static
Uint32
blocklist
[]
=
{
Uint32
blocklist
[
6
];
clocallqhblockref
,
blocklist
[
0
]
=
clocallqhblockref
;
clocaltcblockref
,
blocklist
[
1
]
=
clocaltcblockref
;
cdictblockref
,
blocklist
[
2
]
=
cdictblockref
;
0
,
0
,
0
};
blocklist
[
3
]
=
numberToRef
(
BACKUP
,
getOwnNodeId
());
blocklist
[
3
]
=
numberToRef
(
BACKUP
,
getOwnNodeId
());
blocklist
[
4
]
=
numberToRef
(
SUMA
,
getOwnNodeId
());
blocklist
[
4
]
=
numberToRef
(
SUMA
,
getOwnNodeId
());
blocklist
[
5
]
=
0
;
for
(
Uint32
i
=
0
;
blocklist
[
i
]
!=
0
;
i
++
)
for
(
Uint32
i
=
0
;
blocklist
[
i
]
!=
0
;
i
++
)
{
{
...
...
storage/ndb/test/src/NdbRestarts.cpp
View file @
52469dee
...
@@ -630,7 +630,7 @@ int restartNFDuringNR(NdbRestarter& _restarter,
...
@@ -630,7 +630,7 @@ int restartNFDuringNR(NdbRestarter& _restarter,
int
nodeId
=
_restarter
.
getDbNodeId
(
randomId
);
int
nodeId
=
_restarter
.
getDbNodeId
(
randomId
);
int
error
=
NFDuringNR_codes
[
i
];
int
error
=
NFDuringNR_codes
[
i
];
g_
info
<<
_restart
->
m_name
<<
": node = "
<<
nodeId
g_
err
<<
_restart
->
m_name
<<
": node = "
<<
nodeId
<<
" error code = "
<<
error
<<
endl
;
<<
" error code = "
<<
error
<<
endl
;
CHECK
(
_restarter
.
restartOneDbNode
(
nodeId
,
false
,
true
,
true
)
==
0
,
CHECK
(
_restarter
.
restartOneDbNode
(
nodeId
,
false
,
true
,
true
)
==
0
,
...
...
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