void CRUAuditRefreshTaskExecutor::PrologueHandleOnStatementMV() { CRUTblList &tblList = GetRootMV().GetTablesUsedByMe(); DSListPosition pos = tblList.GetHeadPosition(); while (NULL != pos) { CRUTbl *pTbl = tblList.GetNext(pos); pTbl->ExecuteReadProtectedOpen(); } }
void CRULockEquivSetTaskExecutor:: FreezeAllTables(CRULockEquivSetTask *pParentTask) { CRUTblList &tblList = pParentTask->GetTableList(); DSListPosition pos = tblList.GetHeadPosition(); while (NULL != pos) { CRUTbl *pTbl = tblList.GetNext(pos); if (TRUE == pTbl->IsIncEpochNeeded()) { pTbl->ExecuteLogReadProtectedOpen(); } else { if (TRUE == pTbl->IsLongLockNeeded()) { pTbl->ExecuteReadProtectedOpen(); } } } }