DB_MPOOLFILE->sync |
#include <db.h>int DB_MPOOLFILE->sync(DB_MPOOLFILE *mpf);
The DB_MPOOLFILE->sync method writes all pages associated with the DB_MPOOLFILE, which were marked as modified using DB_MPOOLFILE->put or DB_MPOOLFILE->set, back to the source file. If any of the modified pages are pinned (that is, currently in use), DB_MPOOLFILE->sync will ignore them.
The DB_MPOOLFILE->sync method returns a non-zero error value on failure and 0 on success.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.