Commit 0d366c05 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;
  }
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }