Commit 2b9172a3 authored by joreland@mysql.com's avatar joreland@mysql.com

wl1671 - Removed debug code

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