mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
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:
parent
8e006bd83b
commit
05a3558bb2
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue