mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
BUG#20333 valgrind: mgmd event reporting dep on uninit value
ndb/src/mgmsrv/MgmtSrvr.cpp: user correct pointer
This commit is contained in:
parent
49ccf53e8e
commit
773e91d513
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue