Commit 59cbec3d authored by unknown's avatar unknown

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
parent 6875cf36
...@@ -543,7 +543,8 @@ NdbOperation::getKeyFromTCREQ(Uint32* data, unsigned size) ...@@ -543,7 +543,8 @@ NdbOperation::getKeyFromTCREQ(Uint32* data, unsigned size)
assert(m_accessTable->m_sizeOfKeysInWords == size); assert(m_accessTable->m_sizeOfKeysInWords == size);
unsigned pos = 0; unsigned pos = 0;
while (pos < 8 && pos < size) { while (pos < 8 && pos < size) {
data[pos++] = theKEYINFOptr[pos]; data[pos] = theKEYINFOptr[pos];
pos++;
} }
NdbApiSignal* tSignal = theFirstKEYINFO; NdbApiSignal* tSignal = theFirstKEYINFO;
unsigned n = 0; unsigned n = 0;
......
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