ndb -

  reformat code a bit to be more compiler friendly
parent 3aa1a59a
......@@ -2057,16 +2057,13 @@ void Dbdih::execINCL_NODECONF(Signal* signal)
TstartNode_or_blockref = signal->theData[0];
TsendNodeId = signal->theData[1];
static Uint32 blocklist[] = {
clocallqhblockref,
clocaltcblockref,
cdictblockref,
0,
0,
0
};
Uint32 blocklist[6];
blocklist[0] = clocallqhblockref;
blocklist[1] = clocaltcblockref;
blocklist[2] = cdictblockref;
blocklist[3] = numberToRef(BACKUP, getOwnNodeId());
blocklist[4] = numberToRef(SUMA, getOwnNodeId());
blocklist[5] = 0;
for (Uint32 i = 0; blocklist[i] != 0; i++)
{
......
......@@ -630,7 +630,7 @@ int restartNFDuringNR(NdbRestarter& _restarter,
int nodeId = _restarter.getDbNodeId(randomId);
int error = NFDuringNR_codes[i];
g_info << _restart->m_name << ": node = " << nodeId
g_err << _restart->m_name << ": node = " << nodeId
<< " error code = " << error << endl;
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