Commit f1ea3689 authored by unknown's avatar unknown

DbtuxScan.cpp:

  dont crash before wl_1942 done


ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
  dont crash before wl_1942 done
parent 32366f99
......@@ -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;
......
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