Small. Fast. Reliable.
Choose any three.
SQLite C Interface
Configuration Options
#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */
Important: This interface is experimental and is subject to change without notice.
These constants are the available integer configuration options that
can be passed as the second argument to the sqlite3_db_config() interface.
New configuration options may be added in future releases of SQLite.
Existing configuration options might be discontinued. Applications
should check the return code from sqlite3_db_config() to make sure that
the call worked. The sqlite3_db_config() interface will return a
non-zero error code if a discontinued or unsupported configuration option
is invoked.
- SQLITE_DBCONFIG_LOOKASIDE
- This option takes three additional arguments that determine the
lookaside memory allocator configuration for the database connection.
The first argument (the third parameter to sqlite3_db_config() is a
pointer to an 8-byte aligned memory buffer to use for lookaside memory.
The first argument may be NULL in which case SQLite will allocate the
lookaside buffer itself using sqlite3_malloc(). The second argument is the
size of each lookaside buffer slot and the third argument is the number of
slots. The size of the buffer in the first argument must be greater than
or equal to the product of the second and third arguments.
See also lists of
Objects,
Constants, and
Functions.
This page last modified 2009/07/31 12:35:28 UTC