Commit 9e05d61a authored by stewart@mysql.com's avatar stewart@mysql.com

BUG#20333 valgrind: mgmd event reporting dep on uninit value

parent e84359f3
...@@ -1797,7 +1797,7 @@ MgmtSrvr::handleReceivedSignal(NdbApiSignal* signal) ...@@ -1797,7 +1797,7 @@ MgmtSrvr::handleReceivedSignal(NdbApiSignal* signal)
break; break;
case GSN_EVENT_REP: case GSN_EVENT_REP:
{ {
EventReport *rep = CAST_PTR(EventReport, signal->getDataPtrSend()); EventReport *rep = (EventReport*) signal->getDataPtr();
if (rep->getNodeId() == 0) if (rep->getNodeId() == 0)
rep->setNodeId(refToNode(signal->theSendersBlockRef)); rep->setNodeId(refToNode(signal->theSendersBlockRef));
eventReport(signal->getDataPtr()); eventReport(signal->getDataPtr());
......
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