Commit 76bb121f authored by unknown's avatar unknown

Fix initial chunk size in set_distribution_key for scans

parent c24629cf
...@@ -543,6 +543,7 @@ NdbOperation::handle_distribution_key(const Uint64* value, Uint32 len) ...@@ -543,6 +543,7 @@ NdbOperation::handle_distribution_key(const Uint64* value, Uint32 len)
{ {
tSignal = tSignal->next(); tSignal = tSignal->next();
src = ((KeyInfo*)tSignal->getDataPtrSend())->keyData; src = ((KeyInfo*)tSignal->getDataPtrSend())->keyData;
chunk = KeyInfo::DataLength;
} }
for(unsigned i = m_accessTable->m_columns.size(); i>0; cols++, i--) for(unsigned i = m_accessTable->m_columns.size(); i>0; cols++, i--)
......
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