summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-12-12 13:07:22 +0100
committerunknown <jonas@perch.ndb.mysql.com>2006-12-12 13:07:22 +0100
commitbbb256769a0da1996775f4bb90597f3000c4d0ed (patch)
tree2531e2fb779c3571662834d979ed85a4817de214 /storage
parent231483d90fa2f1e8a7b290277e27dc867c6451ea (diff)
downloadmariadb-git-bbb256769a0da1996775f4bb90597f3000c4d0ed.tar.gz
ndb - style
split assignment into 2 lines storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: remove bad assignment
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
index ce7d87c9c82..a0565df0dfb 100644
--- a/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
+++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp
@@ -784,7 +784,8 @@ 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);
- req_struct->in_buf_index = inBufIndex += 1 + sz;
+ inBufIndex += 1 + sz;
+ req_struct->in_buf_index = inBufIndex;
}
else
{