📄 dbacc.hpp
字号:
void srReadOverPagesLab(Signal* signal); void releaseScanLab(Signal* signal); void lcpOpenUndofileConfLab(Signal* signal); void srFsOpenConfLab(Signal* signal); void checkSyncUndoPagesLab(Signal* signal); void sendaccSrconfLab(Signal* signal); void checkSendLcpConfLab(Signal* signal); void endsaveoverpageLab(Signal* signal); void lcpCloseDataFileLab(Signal* signal); void srOpenDataFileLoopLab(Signal* signal); void srReadPagesLab(Signal* signal); void srDoUndoLab(Signal* signal); void ndbrestart1Lab(Signal* signal); void initialiseRecordsLab(Signal* signal, Uint32 ref, Uint32 data); void srReadPagesAllocLab(Signal* signal); void checkNextBucketLab(Signal* signal); void endsavepageLab(Signal* signal); void saveZeroPageLab(Signal* signal); void srAllocPage0011Lab(Signal* signal); void sendLcpFragidconfLab(Signal* signal); void savepagesLab(Signal* signal); void saveOverPagesLab(Signal* signal); void srReadPageZeroLab(Signal* signal); void storeDataPageInDirectoryLab(Signal* signal); void lcpFsOpenConfLab(Signal* signal); void zpagesize_error(const char* where); void reportMemoryUsage(Signal* signal, int gth); void lcp_write_op_to_undolog(Signal* signal); void reenable_expand_after_redo_log_exection_complete(Signal*); // charsets void xfrmKeyData(Signal* signal); // Initialisation void initData(); void initRecords(); // Variables/* --------------------------------------------------------------------------------- *//* DIRECTORY RANGE *//* --------------------------------------------------------------------------------- */ DirRange *dirRange; DirRangePtr expDirRangePtr; DirRangePtr gnsDirRangePtr; DirRangePtr newDirRangePtr; DirRangePtr rdDirRangePtr; DirRangePtr nciOverflowrangeptr; Uint32 cdirrangesize; Uint32 cfirstfreeDirrange;/* --------------------------------------------------------------------------------- *//* DIRECTORYARRAY *//* --------------------------------------------------------------------------------- */ Directoryarray *directoryarray; DirectoryarrayPtr expDirptr; DirectoryarrayPtr rdDirptr; DirectoryarrayPtr sdDirptr; DirectoryarrayPtr nciOverflowDirptr; Uint32 cdirarraysize; Uint32 cdirmemory; Uint32 cfirstfreedir;/* --------------------------------------------------------------------------------- *//* FRAGMENTREC. ALL INFORMATION ABOUT FRAMENT AND HASH TABLE IS SAVED IN FRAGMENT *//* REC A POINTER TO FRAGMENT RECORD IS SAVED IN ROOTFRAGMENTREC FRAGMENT *//* --------------------------------------------------------------------------------- */ Fragmentrec *fragmentrec; FragmentrecPtr fragrecptr; Uint32 cfirstfreefrag; Uint32 cfragmentsize;/* --------------------------------------------------------------------------------- *//* FS_CONNECTREC *//* --------------------------------------------------------------------------------- */ FsConnectrec *fsConnectrec; FsConnectrecPtr fsConnectptr; Uint32 cfsConnectsize; Uint32 cfsFirstfreeconnect;/* --------------------------------------------------------------------------------- *//* FS_OPREC *//* --------------------------------------------------------------------------------- */ FsOprec *fsOprec; FsOprecPtr fsOpptr; Uint32 cfsOpsize; Uint32 cfsFirstfreeop;/* --------------------------------------------------------------------------------- *//* LCP_CONNECTREC *//* --------------------------------------------------------------------------------- */ LcpConnectrec *lcpConnectrec; LcpConnectrecPtr lcpConnectptr; Uint32 clcpConnectsize; Uint32 cfirstfreelcpConnect;/* --------------------------------------------------------------------------------- *//* OPERATIONREC *//* --------------------------------------------------------------------------------- */ Operationrec *operationrec; OperationrecPtr operationRecPtr; OperationrecPtr idrOperationRecPtr; OperationrecPtr copyInOperPtr; OperationrecPtr copyOperPtr; OperationrecPtr mlpqOperPtr; OperationrecPtr queOperPtr; OperationrecPtr readWriteOpPtr; Uint32 cfreeopRec; Uint32 coprecsize;/* --------------------------------------------------------------------------------- *//* OVERFLOW_RECORD *//* --------------------------------------------------------------------------------- */ OverflowRecord *overflowRecord; OverflowRecordPtr iopOverflowRecPtr; OverflowRecordPtr tfoOverflowRecPtr; OverflowRecordPtr porOverflowRecPtr; OverflowRecordPtr priOverflowRecPtr; OverflowRecordPtr rorOverflowRecPtr; OverflowRecordPtr sorOverflowRecPtr; OverflowRecordPtr troOverflowRecPtr; Uint32 cfirstfreeoverrec; Uint32 coverflowrecsize;/* --------------------------------------------------------------------------------- *//* PAGE8 *//* --------------------------------------------------------------------------------- */ Page8 *page8; /* 8 KB PAGE */ Page8Ptr ancPageptr; Page8Ptr colPageptr; Page8Ptr ccoPageptr; Page8Ptr datapageptr; Page8Ptr delPageptr; Page8Ptr excPageptr; Page8Ptr expPageptr; Page8Ptr gdiPageptr; Page8Ptr gePageptr; Page8Ptr gflPageptr; Page8Ptr idrPageptr; Page8Ptr ilcPageptr; Page8Ptr inpPageptr; Page8Ptr iopPageptr; Page8Ptr lastPageptr; Page8Ptr lastPrevpageptr; Page8Ptr lcnPageptr; Page8Ptr lcnCopyPageptr; Page8Ptr lupPageptr; Page8Ptr priPageptr; Page8Ptr pwiPageptr; Page8Ptr ciPageidptr; Page8Ptr gsePageidptr; Page8Ptr isoPageptr; Page8Ptr nciPageidptr; Page8Ptr rsbPageidptr; Page8Ptr rscPageidptr; Page8Ptr slPageidptr; Page8Ptr sscPageidptr; Page8Ptr rlPageptr; Page8Ptr rlpPageptr; Page8Ptr ropPageptr; Page8Ptr rpPageptr; Page8Ptr slPageptr; Page8Ptr spPageptr; Uint32 cfirstfreepage; Uint32 cfreepage; Uint32 cpagesize; Uint32 cfirstfreeLcpPage; Uint32 cnoOfAllocatedPages; Uint32 cnoLcpPages;/* --------------------------------------------------------------------------------- *//* ROOTFRAGMENTREC *//* DURING EXPAND FRAGMENT PROCESS, EACH FRAGMEND WILL BE EXPAND INTO TWO *//* NEW FRAGMENTS.TO MAKE THIS PROCESS EASIER, DURING ADD FRAGMENT PROCESS *//* NEXT FRAGMENT IDENTIIES WILL BE CALCULATED, AND TWO FRAGMENTS WILL BE *//* ADDED IN (NDBACC). THEREBY EXPAND OF FRAGMENT CAN BE PERFORMED QUICK AND *//* EASY.THE NEW FRAGMENT ID SENDS TO TUP MANAGER FOR ALL OPERATION PROCESS. *//* --------------------------------------------------------------------------------- */ Rootfragmentrec *rootfragmentrec; RootfragmentrecPtr rootfragrecptr; Uint32 crootfragmentsize; Uint32 cfirstfreerootfrag;/* --------------------------------------------------------------------------------- *//* SCAN_REC *//* --------------------------------------------------------------------------------- */ ScanRec *scanRec; ScanRecPtr scanPtr; Uint32 cscanRecSize; Uint32 cfirstFreeScanRec;/* --------------------------------------------------------------------------------- *//* SR_VERSION_REC *//* --------------------------------------------------------------------------------- */ SrVersionRec *srVersionRec; SrVersionRecPtr srVersionPtr; Uint32 csrVersionRecSize; Uint32 cfirstFreeSrVersionRec;/* --------------------------------------------------------------------------------- *//* TABREC *//* --------------------------------------------------------------------------------- */ Tabrec *tabrec; TabrecPtr tabptr; Uint32 ctablesize;/* --------------------------------------------------------------------------------- *//* UNDOPAGE *//* --------------------------------------------------------------------------------- */ Undopage *undopage; /* 32 KB PAGE */ UndopagePtr undopageptr; Uint32 tpwiElementptr; Uint32 tpriElementptr; Uint32 tgseElementptr; Uint32 tgseContainerptr; Uint32 trlHead; Uint32 trlRelCon; Uint32 trlNextused; Uint32 trlPrevused; Uint32 tlcnChecksum; Uint32 tlupElemIndex; Uint32 tlupIndex; Uint32 tlupForward; Uint32 tancNext; Uint32 tancBufType; Uint32 tancContainerptr; Uint32 tancPageindex; Uint32 tancPageid; Uint32 tidrResult; Uint32 tidrElemhead; Uint32 tidrForward; Uint32 tidrPageindex; Uint32 tidrContainerptr; Uint32 tidrContainerhead; Uint32 tlastForward; Uint32 tlastPageindex; Uint32 tlastContainerlen; Uint32 tlastElementptr; Uint32 tlastContainerptr; Uint32 tlastContainerhead; Uint32 trlPageindex; Uint32 tdelContainerptr; Uint32 tdelElementptr; Uint32 tdelForward; Uint32 tiopPageId; Uint32 tipPageId; Uint32 tgeLocked; Uint32 tgeResult; Uint32 tgeContainerptr; Uint32 tgeElementptr; Uint32 tgeForward; Uint32 tundoElemIndex; Uint32 texpReceivedBucket; Uint32 texpDirInd; Uint32 texpDirRangeIndex; Uint32 texpDirPageIndex; Uint32 tdata0; Uint32 tcheckpointid; Uint32 tciContainerptr; Uint32 tnciContainerptr; Uint32 tisoContainerptr; Uint32 trscContainerptr; Uint32 tsscContainerptr; Uint32 tciContainerlen; Uint32 trscContainerlen; Uint32 tsscContainerlen; Uint32 tciContainerhead; Uint32 tnciContainerhead; Uint32 tslElementptr; Uint32 tisoElementptr; Uint32 tsscElementptr; Uint32 tfid; Uint32 tscanFlag; Uint32 theadundoindex; Uint32 tgflBufType; Uint32 tgseIsforward; Uint32 tsscIsforward; Uint32 trscIsforward; Uint32 tciIsforward; Uint32 tnciIsforward; Uint32 tisoIsforward; Uint32 tgseIsLocked; Uint32 tsscIsLocked; Uint32 tkeylen; Uint32 tmp; Uint32 tmpP; Uint32 tmpP2; Uint32 tmp1; Uint32 tmp2; Uint32 tgflPageindex; Uint32 tmpindex; Uint32 tslNextfree; Uint32 tslPageindex; Uint32 tgsePageindex; Uint32 tnciNextSamePage; Uint32 tslPrevfree; Uint32 tciPageindex; Uint32 trsbPageindex; Uint32 tnciPageindex; Uint32 tlastPrevconptr; Uint32 tresult; Uint32 tslUpdateHeader; Uint32 tuserptr; BlockReference tuserblockref; Uint32 tundoindex; Uint32 tlqhPointer; Uint32 tholdSentOp; Uint32 tholdMore; Uint32 tlcpLqhCheckV; Uint32 tgdiPageindex; Uint32 tiopIndex; Uint32 tnciTmp; Uint32 tullIndex; Uint32 turlIndex; Uint32 tlfrTmp1; Uint32 tlfrTmp2; Uint32 tscanTrid1; Uint32 tscanTrid2; Uint16 clastUndoPageIdWritten; Uint32 cactiveCheckpId; Uint32 cactiveRootfrag; Uint32 cactiveSrFsPtr; Uint32 cactiveUndoFilePage; Uint32 cactiveOpenUndoFsPtr; Uint32 cactiveSrUndoPage; Uint32 cprevUndoaddress; Uint32 creadyUndoaddress; Uint32 ctest; Uint32 cundoLogActive; Uint32 clqhPtr; BlockReference clqhBlockRef; Uint32 cminusOne; NodeId cmynodeid; Uint32 cactiveUndoFileVersion; BlockReference cownBlockref; BlockReference cndbcntrRef; Uint16 csignalkey; Uint32 cundopagesize; Uint32 cundoposition; Uint32 cundoElemIndex; Uint32 cundoinfolength; Uint32 czero; Uint32 csrVersList[16]; Uint32 clblPageCounter; Uint32 clblPageOver; Uint32 clblPagesPerTick; Uint32 clblPagesPerTickAfterSr; Uint32 csystemRestart; Uint32 cexcForward; Uint32 cexcPageindex; Uint32 cexcContainerptr; Uint32 cexcContainerhead; Uint32 cexcContainerlen; Uint32 cexcElementptr; Uint32 cexcPrevconptr; Uint32 cexcMovedLen; Uint32 cexcPrevpageptr; Uint32 cexcPrevpageindex; Uint32 cexcPrevforward; Uint32 clocalkey[32]; union { Uint32 ckeys[2048 * MAX_XFRM_MULTIPLY]; Uint64 ckeys_align; }; Uint32 c_errorInsert3000_TableId; Uint32 cSrUndoRecords[UndoHeader::ZNO_UNDORECORD_TYPES];};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -