Return TypeFunction nameArguments
hzEcodehzMapM::Delete(const KEY&,)

Declared and defined in file: hzTmplMapM.h

Function Logic:

0:START 1:_hz_tmpl_ISAM::_findDnodeByKey pDN 2:!pDN 3:Return E_NOTFOUND 4:_hz_tmpl_ISAM::DeleteKey pDN 5:Return E_OK

Function body:

hzEcode hzMapM::Delete (const KEY& key)
   {
       _hzfunc("hzMapM:Delete") ;
       _hz_map_bkt<KEY,OBJ>*   pBuck ;
       _hz_vn_Dat* pDN ;
       int32_t     nSlot ;
       pDN = base._findDnodeByKey(nSlot, &key, HZ_ISAMSRCH_LO) ;
       if (!pDN)
           return E_NOTFOUND ;
       pDN = base.DeleteKey(nSlot, &key) ;
       return E_OK ;
   }