Commit df6e834d authored by unknown's avatar unknown

wl1671 - Removed debug code


ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Removed debug code
parent 14979cb5
......@@ -6480,7 +6480,6 @@ void Dbtc::execSCAN_HBREP(Signal* signal)
/* Timeout has occured on a fragment which means a scan has timed out. */
/* If this is true we have an error in LQH/ACC. */
/*--------------------------------------------------------------------------*/
static int kalle = 0;
void Dbtc::timeOutFoundFragLab(Signal* signal, UintR TscanConPtr)
{
ScanFragRecPtr ptr;
......@@ -6520,10 +6519,6 @@ void Dbtc::timeOutFoundFragLab(Signal* signal, UintR TscanConPtr)
run.remove(ptr);
comp.add(ptr);
ptr.p->stopFragTimer();
} else {
kalle++;
if(kalle > 5)
ndbassert(scanptr.p->scanState != ScanRecord::CLOSING_SCAN);
}
scanError(signal, scanptr, ZSCAN_FRAG_LQH_ERROR);
......
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