diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-12-04 10:06:51 +0100 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-12-04 10:06:51 +0100 |
commit | 61956dd5fe427346655ef1d780a27dc1f1702f14 (patch) | |
tree | 8f8ee732cd0d9e2611333a4b56744bdc6b34b274 /storage/ndb | |
parent | 3a7bb77df5593f69aca1e1893d3afc73207dcffe (diff) | |
download | mariadb-git-61956dd5fe427346655ef1d780a27dc1f1702f14.tar.gz |
ndb - bug#24166
SR crash if table with disk with hidden primary key...
storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
fix bug 24166
Diffstat (limited to 'storage/ndb')
-rw-r--r-- | storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp index 677eff53559..1786ec3421b 100644 --- a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp +++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp @@ -784,7 +784,7 @@ int Dbtup::updateAttributes(KeyReqStruct *req_struct, req_struct->m_tuple_ptr->m_header_bits |= Tuple_header::DISK_PART; memcpy(req_struct->m_tuple_ptr->get_disk_ref_ptr(regTabPtr), inBuffer+inBufIndex+1, sz << 2); - inBufIndex += 1 + sz; + req_struct->in_buf_index = inBufIndex += 1 + sz; } else { |