ndb - bug#20197

also close scan which are in "delivered" state, as it's impossible to release locks afterwards


storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  also close scan which are in "delivered" state, as it's impossible to release locks afterwards
This commit is contained in:
unknown 2006-06-01 14:34:46 +02:00
parent 5f91dfde9e
commit 57b262f32a

View file

@ -7052,6 +7052,18 @@ void Dbtc::checkScanActiveInFailedLqh(Signal* signal,
found = true; found = true;
} }
} }
ScanFragList deliv(c_scan_frag_pool, scanptr.p->m_delivered_scan_frags);
for(deliv.first(ptr); !ptr.isNull(); deliv.next(ptr))
{
jam();
if (refToNode(ptr.p->lqhBlockref) == failedNodeId)
{
jam();
found = true;
break;
}
}
} }
if(found){ if(found){
jam(); jam();