summaryrefslogtreecommitdiff
path: root/storage/ndb
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-12-04 10:06:51 +0100
committerunknown <jonas@perch.ndb.mysql.com>2006-12-04 10:06:51 +0100
commit61956dd5fe427346655ef1d780a27dc1f1702f14 (patch)
tree8f8ee732cd0d9e2611333a4b56744bdc6b34b274 /storage/ndb
parent3a7bb77df5593f69aca1e1893d3afc73207dcffe (diff)
downloadmariadb-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.cpp2
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
{