diff options
author | unknown <pekka@mysql.com> | 2004-10-20 15:14:50 +0200 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2004-10-20 15:14:50 +0200 |
commit | 8b3fa57b426123a160488f10993af4bfc9245320 (patch) | |
tree | 025732ac60aa102732ebab9fa54ceb0f7f8a88f4 /ndb/src/ndbapi/NdbOperationSearch.cpp | |
parent | 7aa495cbda5a5b7adbd8ea5da409573ac79fdb32 (diff) | |
download | mariadb-git-8b3fa57b426123a160488f10993af4bfc9245320.tar.gz |
NdbOperationSearch.cpp:
fix C coding error found by tomas on sol9x86
ndb/src/ndbapi/NdbOperationSearch.cpp:
fix C coding error found by tomas on sol9x86
Diffstat (limited to 'ndb/src/ndbapi/NdbOperationSearch.cpp')
-rw-r--r-- | ndb/src/ndbapi/NdbOperationSearch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/ndbapi/NdbOperationSearch.cpp b/ndb/src/ndbapi/NdbOperationSearch.cpp index e5166fc4a82..0d3130fffd0 100644 --- a/ndb/src/ndbapi/NdbOperationSearch.cpp +++ b/ndb/src/ndbapi/NdbOperationSearch.cpp @@ -543,7 +543,8 @@ NdbOperation::getKeyFromTCREQ(Uint32* data, unsigned size) assert(m_accessTable->m_sizeOfKeysInWords == size); unsigned pos = 0; while (pos < 8 && pos < size) { - data[pos++] = theKEYINFOptr[pos]; + data[pos] = theKEYINFOptr[pos]; + pos++; } NdbApiSignal* tSignal = theFirstKEYINFO; unsigned n = 0; |