Commit 231483d9 authored by unknown's avatar unknown

ndb - bug#24664

  Fix in bug fix, make sure LCP_SKIP is only used for inserts...


storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
  Make sure LCP_SKIP is only used for inserts
parent 0372d3b0
...@@ -302,7 +302,7 @@ Dbtup::commit_operation(Signal* signal, ...@@ -302,7 +302,7 @@ Dbtup::commit_operation(Signal* signal,
copy_bits |= Tuple_header::DISK_PART; copy_bits |= Tuple_header::DISK_PART;
} }
if(lcpScan_ptr_i != RNIL) if(lcpScan_ptr_i != RNIL && (bits & Tuple_header::ALLOC))
{ {
ScanOpPtr scanOp; ScanOpPtr scanOp;
c_scanOpPool.getPtr(scanOp, lcpScan_ptr_i); c_scanOpPool.getPtr(scanOp, lcpScan_ptr_i);
......
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