Berkeley DB: DB_MPOOLFILE->sync
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

DB_MPOOLFILE->sync |

`

    #include <db.h>

    int
    DB_MPOOLFILE->sync(DB_MPOOLFILE *mpf);

Description: DB_MPOOLFILE->sync

The DB_MPOOLFILE->sync method writes all modified pages associated with the DB_MPOOLFILE 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.

Class DB_ENV, DB_MPOOLFILE
See Also Memory Pools and Related Methods`

Copyright (c) 1996,2008 Oracle. All rights reserved.