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

void cbd520_Separator::bd520ConvertToFirstSepOnLevel ( tsp00_Int4 &  SepLenDelta  )  [inline]

function: bd520ConvertToFirstSepOnLevel description: The key from the separator is removed. arguments: SepLenDelta [out] amount of bytes the record became smaller.

Definition at line 329 of file gbd520.h.

References bd520LeafCount(), bd520SetLeafCount(), and m_pRec.

{
    /* PTS 1104481 UH 04-11-1999 SepLenDelta built in */

    if ( 0 == m_pRec->recKeyLen_gg00() )
    {
        SepLenDelta = 0;
        return;
    }
    else
    {
        tsp00_Int4 AuxLeafCount   = bd520LeafCount();
        SepLenDelta               = m_pRec->recKeyLen_gg00(); /* PTS 1106119 UH 24-03-2000 */
        m_pRec->recLen_gg00()    -= SepLenDelta;
        m_pRec->recKeyLen_gg00()  = 0;
        bd520SetLeafCount (AuxLeafCount);
        /* SepLenDelta is used outside to update the aligned Recordspace */
        SepLenDelta = -(bd102RecAlign(SepLenDelta)); /* PTS 1108210 UH 06-11-2000 */
    }
}


Generated by  Doxygen 1.6.0   Back to index