mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
NdbOperationSearch.cpp:
fix C coding error found by tomas on sol9x86
This commit is contained in:
parent
c0eba6c97f
commit
e1786b552e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue