Commit 6d26e972 authored by unknown's avatar unknown

Fix scan with keyinfo


ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Dont't use signal->theData for checking as it is overwritten when
  using keyinfo
parent b306777f
......@@ -8134,8 +8134,8 @@ void Dblqh::scanTupkeyConfLab(Signal* signal)
ndbrequire(scanptr.p->m_curr_batch_size_rows < MAX_PARALLEL_OP_PER_SCAN);
scanptr.p->m_curr_batch_size_bytes+= tdata4;
scanptr.p->m_curr_batch_size_rows++;
scanptr.p->m_last_row = conf->lastRow;
if (scanptr.p->check_scan_batch_completed() | conf->lastRow){
scanptr.p->m_last_row = tdata5;
if (scanptr.p->check_scan_batch_completed() | tdata5){
if (scanptr.p->scanLockHold == ZTRUE) {
jam();
scanptr.p->scanState = ScanRecord::WAIT_SCAN_NEXTREQ;
......
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