Commit e1786b55 authored by pekka@mysql.com's avatar pekka@mysql.com

NdbOperationSearch.cpp:

  fix C coding error found by tomas on sol9x86
parent c0eba6c9
...@@ -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