Commit 0d366c05 authored by unknown's avatar unknown

ndb - bug#21044

  report only once on "all dump 1000"


storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  report DM only once
storage/ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
  report DM only once
parent 44c29ca3
......@@ -8312,7 +8312,8 @@ Dbacc::execDUMP_STATE_ORD(Signal* signal)
return;
}
if(dumpState->args[0] == DumpStateOrd::DumpPageMemory){
if(dumpState->args[0] == DumpStateOrd::DumpPageMemory &&
signal->getLength() == 1){
reportMemoryUsage(signal, 0);
return;
}
......
......@@ -81,7 +81,7 @@ void
Dbtup::execDUMP_STATE_ORD(Signal* signal)
{
Uint32 type = signal->theData[0];
if(type == DumpStateOrd::DumpPageMemory){
if(type == DumpStateOrd::DumpPageMemory && signal->getLength() == 1){
reportMemoryUsage(signal, 0);
return;
}
......
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