Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

void Kernel_Administration::Activate ( tgg00_TransContext &  trans  )  [private, virtual]

The Data Access Manager is ready for online mode.

Parameters:
trans [in/out]
Returns:
none

Implements Kernel_IAdminConfig.

Definition at line 207 of file Kernel_Administration.cpp.

References Kernel_StateScope::EnterCriticalState(), m_State, and RestartIntern().

{
    SAPDBTRACE_METHOD_DEBUG ("Kernel_Administration::Activate", Common_Trace, 5);

    Kernel_StateScope state (Kernel_State::criticalStateRedo, m_State);
    
    if ( ! state.EnterCriticalState() )
    {
        RTE_Message (Admin_Exception(__CONTEXT__,KERNEL_CRITICAL_STATE_NOT_ENTERED,"Redo"));
        trans.trError_gg00 = e_dbm_command_not_possible;
        return;
    }

    RestartIntern (trans, restartKindActivation, Kernel_Date(), Kernel_Time(), Log_IOSequenceNo());
}


Generated by  Doxygen 1.6.0   Back to index