(ret = __db_noop_log(dbp->dbenv->lg_info, dbp->txn, &LSN(meta), 0)) == 0)
__db_noop_log(dbp->dbenv->lg_info, dbp->txn, &LSN(meta), 0, dbp->log_fileid, PGNO_METADATA, &LSN(meta)) != 0)
__bam_upstat(dbp)	DB *dbp;{	BTREE *t;	BTMETA *meta;	DB_LOCK metalock;	db_pgno_t pgno;	int flags, ret;	/*	 * We use a no-op log call to log the update of the statistics onto the	 * metadata page.  The Db->close call isn't transaction protected to	 * start with, and I'm not sure what undoing a statistics update means,	 * anyway.	 */	if (F_ISSET(dbp, DB_AM_INMEM | DB_AM_RDONLY))		return;	flags = 0;	pgno = PGNO_METADATA;	/* Lock and retrieve the page. */	if (__bam_lget(dbp, 0, pgno, DB_LOCK_WRITE, &metalock) != 0)		return;	if (__bam_pget(dbp, (PAGE **)&meta, &pgno, 0) == 0) {		/* Log the change. */		if (DB_LOGGING(dbp) &&		    (ret = __db_noop_log(dbp->dbenv->lg_info, dbp->txn,		    &LSN(meta), 0)) == 0)			goto err;		/* Update the statistics. */		t = dbp->internal;		__bam_add_mstat(&t->lstat, &meta->stat);		flags = DB_MPOOL_DIRTY;	}err:	(void)memp_fput(dbp->mpf, (PAGE *)meta, flags);	(void)__BT_LPUT(dbp, metalock);}