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

bool Kernel_Administration::CheckAndResetReadOnlyState ( tgg00_TransContext &  trans  )  [private]

If the backup was done in admin mode the next restart will reset the flag.

After data loading the database is set to readonly. A data backup resets this flag.

Definition at line 607 of file Kernel_Administration.cpp.

References Kernel_State::IsRedo(), and m_State.

Referenced by RestartPrepare().

{
    SAPDBTRACE_METHOD_DEBUG ("Kernel_Administration::CheckAndResetReadOnlyState", Common_Trace, 5);
    SAPDBERR_ASSERT_STATE(m_State.IsRedo());
        
    if ( k57restartrec->rstSetEndReadOnly_kb00() != 0 )
        b01end_read_only (trans);

    return trans.trError_gg00 == e_ok;
}


Generated by  Doxygen 1.6.0   Back to index