Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Support

## SQLite C Interface

## Database Connection Status

>     int sqlite3_db_status(sqlite3*, int op, int *pCur, int *pHiwtr, int resetFlg);

Important: This interface is experimental and is subject to change without notice.

This interface is used to retrieve runtime status information about a single database connection. The first argument is the database connection object to be interrogated. The second argument is the parameter to interrogate. Currently, the only allowed value for the second parameter is SQLITE_DBSTATUS_LOOKASIDE_USED. Additional options will likely appear in future releases of SQLite.

The current value of the requested parameter is written into *pCur and the highest instantaneous value is written into *pHiwtr. If the resetFlg is true, then the highest instantaneous value is reset back down to the current value.

See also: sqlite3_status() and sqlite3_stmt_status().

See also lists of Objects, Constants, and Functions.