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

tsp00_PageNo cbd500_Tree::bd500LeftNeighbor (  ) 

function: bd500LeftNeighbor description: Determines the left neighbor.

This can be an expensive operation, if the left neighbor node is not already known, because of a previous operation. In worst case, a CopyTree is created and there the PrevNode is searched. returns: page_no of left neighbor node.

Definition at line 743 of file vbd500.cpp.

References bd500LeftNeighborId(), cbd600_Node::bd600IsAccessable(), cbd600_Node::m_Current, and cbd600_Node::m_RequestKind.

{
    ROUTINE_DBG_MEO00 ("bd500LeftNeighbor");

    if ( ! m_Node.bd600IsAccessable() )
        return NIL_PAGE_NO_GG00;

    cbd600_Node auxNode(m_Node.m_Current, m_Node.m_RequestKind);

    return bd500LeftNeighborId(auxNode);
}


Generated by  Doxygen 1.6.0   Back to index