Small. Fast. Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQLite C Interface

## Compile-Time Library Version Numbers

>     #define SQLITE_VERSION         "3.5.6"
>     #define SQLITE_VERSION_NUMBER 3005006

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 strong 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 release number and is incremented with each release but resets back to 0 when Y is incremented.

See also: sqlite3_libversion() and sqlite3_libversion_number().

### Invariants:

F10011 | The SQLITE_VERSION #define in the sqlite3.h header file evaluates to a string literal that is the SQLite version with which the header file is associated.
F10014 | The SQLITE_VERSION_NUMBER #define resolves 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/01/31 20:37:13 UTC