Commit 80b532e2 authored by unknown's avatar unknown

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
...@@ -107,8 +107,7 @@ void Dbtup::removeActiveOpList(Operationrec* const regOperPtr, ...@@ -107,8 +107,7 @@ void Dbtup::removeActiveOpList(Operationrec* const regOperPtr,
/** /**
* Release copy tuple * Release copy tuple
*/ */
if(regOperPtr->op_struct.op_type != ZDELETE && if(!regOperPtr->m_copy_tuple_location.isNull())
!regOperPtr->m_copy_tuple_location.isNull())
c_undo_buffer.free_copy_tuple(&regOperPtr->m_copy_tuple_location); c_undo_buffer.free_copy_tuple(&regOperPtr->m_copy_tuple_location);
if (regOperPtr->op_struct.in_active_list) { if (regOperPtr->op_struct.in_active_list) {
......
...@@ -235,6 +235,10 @@ max-time: 500 ...@@ -235,6 +235,10 @@ max-time: 500
cmd: testBasic cmd: testBasic
args: -n Bug25090 T1 args: -n Bug25090 T1
max-time: 1000
cmd: testBasic
args: -n Bug27756
max-time: 500 max-time: 500
cmd: testIndex cmd: testIndex
args: -n Bug25059 -r 3000 T1 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