ndb - bug#24166

  SR crash if table with disk with hidden primary key...
parent 76430403
...@@ -784,7 +784,7 @@ int Dbtup::updateAttributes(KeyReqStruct *req_struct, ...@@ -784,7 +784,7 @@ int Dbtup::updateAttributes(KeyReqStruct *req_struct,
req_struct->m_tuple_ptr->m_header_bits |= Tuple_header::DISK_PART; req_struct->m_tuple_ptr->m_header_bits |= Tuple_header::DISK_PART;
memcpy(req_struct->m_tuple_ptr->get_disk_ref_ptr(regTabPtr), memcpy(req_struct->m_tuple_ptr->get_disk_ref_ptr(regTabPtr),
inBuffer+inBufIndex+1, sz << 2); inBuffer+inBufIndex+1, sz << 2);
inBufIndex += 1 + sz; req_struct->in_buf_index = inBufIndex += 1 + sz;
} }
else else
{ {
......
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