void CRUAuditRefreshTaskExecutor::EpilogueHandleOnStatementMV() { CRUMV &mv = GetRootMV(); CRUTblList &tblList = mv.GetTablesUsedByMe(); DSListPosition pos = tblList.GetHeadPosition(); Int32 i=0; while (NULL != pos) { CRUTbl *pTbl = tblList.GetNext(pos); CDMPreparedStatement *pStat = pLockTablesTEDynamicContainer_->GetPreparedStatement(i); // Perform the LOCK TABLE statement on the used table // (the lock overlaps the original RP open, therefore // guaranteeing the lock continuity). ExecuteStatement(*pStat,IDS_RU_IREFRESH_FAILED); // Release the DDL lock AND the read-protected open on the used table. pTbl->ReleaseResources(); } }