Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Compile-Time Library Version Numbers

#define SQLITE_VERSION         "3.6.11"
#define SQLITE_VERSION_NUMBER  3006011

The SQLITE_VERSION and SQLITE_VERSION_NUMBER #defines in the sqlite3.h file specify the version of SQLite with which that header file is associated.

The "version" of SQLite is a string of the form "X.Y.Z". The phrase "alpha" or "beta" might be appended after the Z. The X value is major version number always 3 in SQLite3. The X value only changes when backwards compatibility is broken and we intend to never break backwards compatibility. The Y value is the minor version number and only changes when there are major feature enhancements that are forwards compatible but not backwards compatible. The Z value is the release number and is incremented with each release but resets back to 0 whenever Y is incremented.

See also: sqlite3_libversion() and sqlite3_libversion_number().

Invariants:

H10011 The SQLITE_VERSION #define in the sqlite3.h header file shall evaluate to a string literal that is the SQLite version with which the header file is associated.
H10014 The SQLITE_VERSION_NUMBER #define shall resolve to an integer with the value (X*1000000 + Y*1000 + Z) where X, Y, and Z are the major version, minor version, and release number.

See also lists of Objects, Constants, and Functions.


This page last modified 2008/12/09 18:44:04 UTC