ndb - bug#21044

  report only once on "all dump 1000"
parent 964bf6d5
......@@ -8312,11 +8312,12 @@ 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;
}
if(dumpState->args[0] == DumpStateOrd::EnableUndoDelayDataWrite){
ndbout << "Dbacc:: delay write of datapages for table = "
<< dumpState->args[1]<< endl;
......
......@@ -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