filehash/ffdb_page.c
int ffdb_release_item (ffdb_htab_t* hashp,
		       ffdb_hent_t* item)
{
  int status;
  /* Now I do not need this page */
  status = ffdb_put_page (hashp, item->pagep, HASH_RAW_PAGE, 0);

  item->pagep = 0;
  item->pgno = INVALID_PGNO;
  item->bucket = INVALID_PGNO;
  item->status = ITEM_ERROR;

  return status;
}
/**
 * Release item and the related page associated with this item
 *
 * This routine is used when the item is no longer needed, which
 * usually happened when hash_get did not get anything
 */
Release item and the related page associated with this item
This routine is used when the item is no longer needed, which
usually happened when hash_get did not get anything
Release item and the related page associated with this item This routine is used when the item is no longer needed which usually happened when hash_get did not get anything
int ffdb_release_item (ffdb_htab_t* hashp,
		       ffdb_hent_t* item)
{
  int status;
  status = ffdb_put_page (hashp, item->pagep, HASH_RAW_PAGE, 0);
  item->pagep = 0;
  item->pgno = INVALID_PGNO;
  item->bucket = INVALID_PGNO;
  item->status = ITEM_ERROR;
  return status;
}
int ffdb_release_item ( ffdb_htab_t * hashp , ffdb_hent_t * item ) { int status ; status = ffdb_put_page ( hashp , item -> pagep , HASH_RAW_PAGE , 0 ) ; item -> pagep = 0 ; item -> pgno = INVALID_PGNO ; item -> bucket = INVALID_PGNO ; item -> status = ITEM_ERROR ; return status ; }
Release item and the related page associated with this item
 This routine is used when the item is no longer needed, which
 usually happened when hash_get did not get anything
Release item and the related page associated with this item This routine is used when the item is no longer needed which usually happened when hash_get did not get anything
/* Now I do not need this page */