Commit f68abd75 authored by unknown's avatar unknown

ndb - acc -

  add assertion


storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
  Add assertion that we dont try to read key from lqh on scan (as it does not have key...)
parent 57b262f3
......@@ -3190,6 +3190,7 @@ Dbacc::readTablePk(Uint32 localkey1, Uint32 eh, const Operationrec* op)
else
{
ndbrequire(ElementHeader::getLocked(eh));
ndbrequire((op->m_op_bits & Operationrec::OP_MASK) != ZSCAN_OP);
ret = c_lqh->readPrimaryKeys(op->userptr, ckeys, xfrm);
}
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