DB_HASH
if (type != DB_HASH && type != DB_UNKNOWN)
type = DB_HASH;
if (type == DB_HASH)
case DB_HASH:
case DB_HASH:
case DB_HASH:
if (dbp->type == DB_HASH)
DB_HASH, __db_oflags(oflags), mode, NULL, &dbinfo, &dbp)) != 0)
DB_HASH, DB_CREATE, __db_omode("rw----"), NULL, &dbinfo, &dbp);
if (type != DB_BTREE && type != DB_HASH && type != DB_RECNO) {
return DB_HASH;
return DB_HASH;
return DB_HASH;
if (db_type == DB_HASH)
return DB_HASH;
if (db_type == DB_HASH)
return DB_HASH;
return db_map_open(map, mode, "hash", DB_HASH, &hinfo);
if (dbtype == DB_HASH && ret == 0 && db != NULL)
struct dbe db_hash[DB_HASH]; /* hash buckets */
db->db = dbopen(db->filename, O_RDWR, 0600, DB_HASH, &db->info);
dbc->hashfirst ? DB_HASH : DB_BTREE,
dbc->hashfirst ? DB_BTREE : DB_HASH,
case DB_HASH:
dbp->type = DB_HASH;
*vdb = dbopen(NULL, O_CREAT|O_RDWR, O_CREAT|O_RDWR, DB_HASH, NULL);