Commit 59ce334d authored by unknown's avatar unknown

ndb -

  reformat code a bit to be more compiler friendly


storage/ndb/test/src/NdbRestarts.cpp:
  more verbosity
parent 2d0fe692
...@@ -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++)
{ {
......
...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment