DbtuxScan.cpp:

dont crash before wl_1942 done


ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
  dont crash before wl_1942 done
This commit is contained in:
unknown 2004-08-01 16:03:04 +02:00
parent 8e006bd83b
commit 05a3558bb2

View file

@ -742,7 +742,9 @@ Dbtux::scanNext(Signal* signal, ScanOpPtr scanPtr)
if (scan.m_state == ScanOp::Locked) {
jam();
// version of a tuple locked by us cannot disappear (assert only)
#ifdef dbtux_wl_1942_is_done
ndbassert(false);
#endif
AccLockReq* const lockReq = (AccLockReq*)signal->getDataPtrSend();
lockReq->returnCode = RNIL;
lockReq->requestInfo = AccLockReq::Unlock;