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

void Log_Writer::SetWritePositionAndIOSeq ( Log_IOSequenceNo  newIOSequence,
Log_RawDeviceIterator  newWritePosition 
) [inline]

This must be used, if a log-recovery is started from init-config and not with a data-recovery.

newIOSequence the IOSequence, the writer will use when writing the next page.

Definition at line 218 of file Log_Writer.hpp.

References FreePagesForLogWriter(), Log_IOSequenceNo::IsValid(), LOG_INITIAL_IOSEQ, m_IOSequenceNo, m_PagesFreeOnDevice, and m_WriteIterator.

Referenced by Log_Volume::UpdateIOSequenceAndOffset().

        // PTS 1117079 UH 2002-08-06 do not assign invalid but instead assign 0
        m_IOSequenceNo = newIOSequence.IsValid() ? newIOSequence
                                                 : LOG_INITIAL_IOSEQ;
        m_WriteIterator = newWritePosition;
        m_PagesFreeOnDevice = FreePagesForLogWriter(); // PTS 1129443 mb 2004-05-03

Generated by  Doxygen 1.6.0   Back to index