Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Synchronization Type Flags

#define SQLITE_SYNC_NORMAL        0x00002
#define SQLITE_SYNC_FULL          0x00003
#define SQLITE_SYNC_DATAONLY      0x00010

When SQLite invokes the xSync() method of an sqlite3_io_methods object it uses a combination of the following integer values as the second argument.

When the SQLITE_SYNC_DATAONLY flag is used, it means that the sync operation only needs to flush data to mass storage. Inode information need not be flushed. The SQLITE_SYNC_NORMAL means to use normal fsync() semantics. The SQLITE_SYNC_FULL flag means to use Mac OS-X style fullsync instead of fsync().

See also lists of Objects, Constants, and Functions.


This page last modified 2007/11/22 00:41:31 UTC