Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Standard File Control Opcodes

#define SQLITE_FCNTL_LOCKSTATE        1

These integer constants are opcodes for the xFileControl method of the sqlite3_io_methods object and to the sqlite3_file_control() interface.

The SQLITE_FCNTL_LOCKSTATE opcode is used for debugging. This opcode cases the xFileControl method to write the current state of the lock (one of SQLITE_LOCK_NONE, SQLITE_LOCK_SHARED, SQLITE_LOCK_RESERVED, SQLITE_LOCK_PENDING, or SQLITE_LOCK_EXCLUSIVE) into an integer that the pArg argument points to. This capability is used during testing and only needs to be supported when SQLITE_TEST is defined.

See also lists of Objects, Constants, and Functions.


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