NdbOperationSearch.cpp:

fix C coding error found by tomas on sol9x86
This commit is contained in:
pekka@mysql.com 2004-10-20 15:14:50 +02:00
parent c0eba6c97f
commit e1786b552e

View file

@ -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;