Commit 4f6e9741 authored by unknown's avatar unknown

Garbage "global" local variables in Dbacc


ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
  Added "global" local variables to init_globals_list
parent 69760897
......@@ -204,6 +204,81 @@ Dbacc::Dbacc(const class Configuration & conf):
addRecSignal(GSN_SET_VAR_REQ, &Dbacc::execSET_VAR_REQ);
initData();
#ifdef VM_TRACE
{
void* tmp[] = { &expDirRangePtr,
&gnsDirRangePtr,
&newDirRangePtr,
&rdDirRangePtr,
&nciOverflowrangeptr,
&expDirptr,
&rdDirptr,
&sdDirptr,
&nciOverflowDirptr,
&fragrecptr,
&fsConnectptr,
&fsOpptr,
&lcpConnectptr,
&operationRecPtr,
&idrOperationRecPtr,
&copyInOperPtr,
&copyOperPtr,
&mlpqOperPtr,
&queOperPtr,
&readWriteOpPtr,
&tgnptMainOpPtr,
&iopOverflowRecPtr,
&tfoOverflowRecPtr,
&porOverflowRecPtr,
&priOverflowRecPtr,
&rorOverflowRecPtr,
&sorOverflowRecPtr,
&troOverflowRecPtr,
&ancPageptr,
&colPageptr,
&ccoPageptr,
&datapageptr,
&delPageptr,
&excPageptr,
&expPageptr,
&gdiPageptr,
&gePageptr,
&gflPageptr,
&idrPageptr,
&ilcPageptr,
&inpPageptr,
&iopPageptr,
&lastPageptr,
&lastPrevpageptr,
&lcnPageptr,
&lcnCopyPageptr,
&lupPageptr,
&priPageptr,
&pwiPageptr,
&ciPageidptr,
&gsePageidptr,
&isoPageptr,
&nciPageidptr,
&rsbPageidptr,
&rscPageidptr,
&slPageidptr,
&sscPageidptr,
&rlPageptr,
&rlpPageptr,
&ropPageptr,
&rpPageptr,
&slPageptr,
&spPageptr,
&rootfragrecptr,
&scanPtr,
&srVersionPtr,
&tabptr,
&undopageptr
};
init_globals_list(tmp, sizeof(tmp)/sizeof(tmp[0]));
}
#endif
}//Dbacc::Dbacc()
Dbacc::~Dbacc()
......
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