ndb - bug#27756

  make sure that copy tuple is released in all cases
parent 967eb52b
......@@ -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) {
......
......@@ -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
......
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