From 63847496f14c813a5d80efd5b7de0f1294ffe1e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:07:11 +0200 Subject: Adding upstream version 3.45.1. Signed-off-by: Daniel Baumann --- www/c3ref/config.html | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 www/c3ref/config.html (limited to 'www/c3ref/config.html') diff --git a/www/c3ref/config.html b/www/c3ref/config.html new file mode 100644 index 0000000..a6cb5a7 --- /dev/null +++ b/www/c3ref/config.html @@ -0,0 +1,161 @@ + + + + + +Configuring The SQLite Library + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ + +
+

SQLite C Interface

+

Configuring The SQLite Library

+
+
+int sqlite3_config(int, ...);
+
+

+The sqlite3_config() interface is used to make global configuration +changes to SQLite in order to tune SQLite to the specific needs of +the application. The default configuration is recommended for most +applications and so this routine is usually not necessary. It is +provided to support rare applications with unusual needs.

+ +

The sqlite3_config() interface is not threadsafe. The application +must ensure that no other SQLite interfaces are invoked by other +threads while sqlite3_config() is running.

+ +

The first argument to sqlite3_config() is an integer +configuration option that determines +what property of SQLite is to be configured. Subsequent arguments +vary depending on the configuration option +in the first argument.

+ +

For most configuration options, the sqlite3_config() interface +may only be invoked prior to library initialization using +sqlite3_initialize() or after shutdown by sqlite3_shutdown(). +The exceptional configuration options that may be invoked at any time +are called "anytime configuration options". +If sqlite3_config() is called after sqlite3_initialize() and before +sqlite3_shutdown() with a first argument that is not an anytime +configuration option, then the sqlite3_config() call will return SQLITE_MISUSE. +Note, however, that sqlite3_config() can be called as part of the +implementation of an application-defined sqlite3_os_init().

+ +

When a configuration option is set, sqlite3_config() returns SQLITE_OK. +If the option is unknown or SQLite is unable to set the option +then this routine returns a non-zero error code. +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3