Name
sqlite3_config() — Advanced configuration of the SQLite library
Definition
int sqlite3_config( int option, ... );
-
option
The configuration option to change.
- Additional parameters
Additional parameters are determined by the given configuration option.
- Returns
An SQLite result code.
Description
This function configures the SQLite library. It must be called
before the SQLite library finishes its initialization process
(either before sqlite3_initialize()
returns, or after sqlite3_shutdown()
is called).
The number of additional parameters and their types is
determined by the specific configuration option.
In addition to controlling the threading mode, this function can also be used to control many different aspects of SQLite’s memory usage. Setting these configuration parameters is an advanced feature that is not required by the vast majority of applications.
For more information on the currently supported configuration options, see http://www.sqlite.org/c3ref/c_config_getmalloc.html.
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.