Commit 80b532e2 authored by unknown's avatar unknown
Browse files

ndb - bug#27756

  make sure that copy tuple is released in all cases


storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp:
  make sure that copy tuple is released in all cases
storage/ndb/test/run-test/daily-basic-tests.txt:
  add testcase
parent 52295cea
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -107,8 +107,7 @@ void Dbtup::removeActiveOpList(Operationrec* const regOperPtr,
  /**
   * Release copy tuple
   */
  if(regOperPtr->op_struct.op_type != ZDELETE && 
     !regOperPtr->m_copy_tuple_location.isNull())
  if(!regOperPtr->m_copy_tuple_location.isNull())
    c_undo_buffer.free_copy_tuple(&regOperPtr->m_copy_tuple_location);
  
  if (regOperPtr->op_struct.in_active_list) {
+4 −0
Original line number Diff line number Diff line
@@ -235,6 +235,10 @@ max-time: 500
cmd: testBasic
args: -n Bug25090 T1

max-time: 1000
cmd: testBasic
args: -n Bug27756

max-time: 500
cmd: testIndex
args: -n Bug25059 -r 3000 T1