Commit 61956dd5 authored by unknown's avatar unknown

ndb - bug#24166

  SR crash if table with disk with hidden primary key...


storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
  fix bug 24166
parent 3a7bb77d
...@@ -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