Commit a94e6c9c authored by unknown's avatar unknown

ndb: fix merge bug in testBlobs


ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
  Print TCINDXREQ as TCKEYREQ
ndb/src/ndbapi/NdbOperationSearch.cpp:
  Fix correct attrinfo when using writeTuple
parent d172fd52
......@@ -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;
// 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