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

ndb: fix merge bug in testBlobs

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