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

void cbd500_Tree::bd530DelRecord ( tsp00_KeyPtr  pKey,
tsp00_Int4  KeyLen 

function: bd530DelRecord description: Deletes a record, removes the space and can do an underflow.

POST: The PathInfo might be invalid. arguments: Key [in] specifies the record

Definition at line 276 of file vbd530.cpp.

References bd500FindNode(), bd520LeafUnderFlow(), cbd600_Node::bd600DelRecordSpace(), cbd600_Node::bd600SearchRecord(), and void().

      ROUTINE_DBG_MEO00 ("bd530DelRecord");

      tsp00_Int4       RecIndex;
      tbd_searchresult SearchResult;
      bd500FindNode (pKey, KeyLen, LEAF_LEVEL_BD00);
    if (m_TrError != e_ok) return;

      m_Node.bd600SearchRecord (pKey, KeyLen, RecIndex, SearchResult);
      if (m_TrError != e_ok) return;

      if ( thisfound != SearchResult )
            m_TrError = e_key_not_found;

      m_Node.bd600DelRecordSpace (RecIndex);
      if (m_TrError != e_ok) return;

      (void) bd520LeafUnderFlow (pKey, KeyLen);

Generated by  Doxygen 1.6.0   Back to index