ndb - acc -

  add assertion
parent 6e19ba3a
...@@ -3190,6 +3190,7 @@ Dbacc::readTablePk(Uint32 localkey1, Uint32 eh, const Operationrec* op) ...@@ -3190,6 +3190,7 @@ Dbacc::readTablePk(Uint32 localkey1, Uint32 eh, const Operationrec* op)
else else
{ {
ndbrequire(ElementHeader::getLocked(eh)); ndbrequire(ElementHeader::getLocked(eh));
ndbrequire((op->m_op_bits & Operationrec::OP_MASK) != ZSCAN_OP);
ret = c_lqh->readPrimaryKeys(op->userptr, ckeys, xfrm); ret = c_lqh->readPrimaryKeys(op->userptr, ckeys, xfrm);
} }
jamEntry(); jamEntry();
......
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