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

ndb/src/mgmsrv/MgmtSrvr.cpp:
  user correct pointer
This commit is contained in:
unknown 2006-06-20 17:29:02 +10:00
parent 49ccf53e8e
commit 773e91d513

View file

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