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.6.18"
>     #define SQLITE_VERSION_NUMBER 3006018
>     #define SQLITE_SOURCE_ID      "2009-09-11 14:05:07 b084828a771ec40be85f07c590ca99de4f6c24ee"

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 "W.X.Y" or "W.X.Y.Z". The W value is major version number and is always 3 in SQLite3. The W value only changes when backwards compatibility is broken and we intend to never break backwards compatibility. The X value is the minor version number and only changes when there are major feature enhancements that are forwards compatible but not backwards compatible. The Y value is the release number and is incremented with each release but resets back to 0 whenever X is incremented. The Z value only appears on branch releases.

The SQLITE_VERSION_NUMBER is an integer that is computed as follows:

>     SQLITE_VERSION_NUMBER = W*1000000 + X*1000 + Y

Since version 3.6.18, SQLite source code has been stored in the fossil configuration management system. The SQLITE_SOURCE_ID macro is a string which identifies a particular check-in of SQLite within its configuration management system. The string contains the date and time of the check-in (UTC) and an SHA1 hash of the entire source tree.

See also: sqlite3_libversion(), sqlite3_libversion_number(), sqlite3_sourceid(), sqlite_version() and sqlite_source_id().

Requirements: H10011 H10014

See also lists of Objects, Constants, and Functions.

This page last modified 2009/08/19 14:11:24 UTC