int flags;
u_int32_t flags;
__db_statchk(dbp, flags)	const DB *dbp;	int flags;{	/* Check for invalid db->stat() function flags. */	DB_CHECK_FLAGS(dbp->dbenv, "stat", flags, DB_RECORDCOUNT);	if (LF_ISSET(DB_RECORDCOUNT) &&	    dbp->type == DB_BTREE && !F_ISSET(dbp, DB_BT_RECNUM))		return (__db_ferr(dbp->dbenv, "stat", 0));	return (0);}