Commit 4d6c4dbe authored by unknown's avatar unknown

ndb - post merge fixes...


storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
  merge
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  merge
storage/ndb/src/ndbapi/NdbTransaction.cpp:
  merge
parent 05ba11bf
...@@ -2877,7 +2877,7 @@ void Dbdict::checkSchemaStatus(Signal* signal) ...@@ -2877,7 +2877,7 @@ void Dbdict::checkSchemaStatus(Signal* signal)
// On NR get index from master because index state is not on file // On NR get index from master because index state is not on file
Uint32 type= oldEntry->m_tableType; Uint32 type= oldEntry->m_tableType;
const bool file = (* newEntry == * oldEntry) && const bool file = (* newEntry == * oldEntry) &&
(c_systemRestart || !DictTabInfo::isIndex(type); (c_systemRestart || !DictTabInfo::isIndex(type));
newEntry->m_info_words= oldEntry->m_info_words; newEntry->m_info_words= oldEntry->m_info_words;
restartCreateTab(signal, tableId, oldEntry, newEntry, file); restartCreateTab(signal, tableId, oldEntry, newEntry, file);
return; return;
......
...@@ -18344,7 +18344,7 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal) ...@@ -18344,7 +18344,7 @@ Dblqh::execDUMP_STATE_ORD(Signal* signal)
FragrecordPtr fragPtr; FragrecordPtr fragPtr;
if ((fragPtr.i = tabPtr.p->fragrec[j]) != RNIL) if ((fragPtr.i = tabPtr.p->fragrec[j]) != RNIL)
{ {
ptrCheckGuard(fragPtr, cfragrecFileSize, fragrecord); c_fragment_pool.getPtr(fragPtr);
infoEvent(" frag: %d distKey: %u", infoEvent(" frag: %d distKey: %u",
tabPtr.p->fragid[j], tabPtr.p->fragid[j],
fragPtr.p->fragDistributionKey); fragPtr.p->fragDistributionKey);
......
...@@ -977,7 +977,7 @@ void releaseScanOperation(); ...@@ -977,7 +977,7 @@ void releaseScanOperation();
Remark: Release scan op when hupp'ed trans closed (save memory) Remark: Release scan op when hupp'ed trans closed (save memory)
******************************************************************************/ ******************************************************************************/
void void
NdbTransaction::releaseScanOperation(NdbIndexScanOperation* cursorOp) NdbTransaction::releaseExecutedScanOperation(NdbIndexScanOperation* cursorOp)
{ {
DBUG_ENTER("NdbTransaction::releaseExecutedScanOperation"); DBUG_ENTER("NdbTransaction::releaseExecutedScanOperation");
DBUG_PRINT("enter", ("this=0x%x op=0x%x", (UintPtr)this, (UintPtr)cursorOp)); DBUG_PRINT("enter", ("this=0x%x op=0x%x", (UintPtr)this, (UintPtr)cursorOp));
......
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