Commit 65da581d authored by joreland@mysql.com's avatar joreland@mysql.com

ndb: fix merge bug in testBlobs

parent 1ca8a28e
......@@ -27,6 +27,7 @@
const NameFunctionPair
SignalDataPrintFunctions[] = {
{ GSN_TCKEYREQ, printTCKEYREQ },
{ GSN_TCINDXREQ, printTCKEYREQ },
{ GSN_TCKEYCONF, printTCKEYCONF },
{ GSN_TCKEYREF, printTCKEYREF },
{ GSN_LQHKEYREQ, printLQHKEYREQ },
......
......@@ -209,7 +209,20 @@ NdbOperation::equal_impl(const NdbColumnImpl* tAttrInfo,
goto equal_error4;
Uint32 ahValue;
const Uint32 sz = totalSizeInWords;
AttributeHeader::init(&ahValue, tAttrId, sz);
// XXX
if(m_accessTable == m_currentTable)
{
AttributeHeader::init(&ahValue, tAttrId, sz);
}
else
{
assert(m_accessTable->m_index);
int attr_id_current_table =
m_accessTable->m_index->m_columns[tAttrId]->m_keyInfoPos;
AttributeHeader::init(&ahValue, attr_id_current_table, sz);
}
insertATTRINFO( ahValue );
insertATTRINFOloop((Uint32*)aValueToWrite, sz);
}//if
......
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