SQLITE_VERSION(3)

NAME
SQLITE_VERSION, SQLITE_VERSION_NUMBER, SQLITE_SOURCE_ID, SQLITE_SCM_BRANCH, SQLITE_SCM_TAGS, SQLITE_SCM_DATETIME - compile-Time library version numbers

SYNOPSIS
#include <sqlite3.h>
#define SQLITE_VERSION
#define SQLITE_VERSION_NUMBER
#define SQLITE_SOURCE_ID
#define SQLITE_SCM_BRANCH
#define SQLITE_SCM_TAGS
#define SQLITE_SCM_DATETIME

DESCRIPTION
The SQLITE_VERSION C preprocessor macro in the sqlite3.h header evaluates to a string literal that is the SQLite version in the format "X.Y.Z" where X is the major version number (always 3 for SQLite3) and Y is the minor version number and Z is the release number. The SQLITE_VERSION_NUMBER C preprocessor macro resolves to an integer with the value (X*1000000 + Y*1000 + Z) where X, Y, and Z are the same numbers used in SQLITE_VERSION. The SQLITE_VERSION_NUMBER for any given release of SQLite will also be larger than the release from which it is derived. Either Y will be held constant and Z will be incremented or else Y will be incremented and Z will be reset to zero.

Since version 3.6.18 (dateof:3.6.18), SQLite source code has been stored in the Fossil configuration management system: http://fossil-scm.org/ . The SQLITE_SOURCE_ID macro evaluates to a string which identifies a particular check-in of SQLite within its configuration management system. The SQLITE_SOURCE_ID string contains the date and time of the check-in (UTC) and a SHA1 or SHA3-256 hash of the entire source tree. If the source code has been edited in any way since it was last checked in, then the last four hexadecimal digits of the hash may be modified.

IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at line 120.

    #define SQLITE_VERSION        "3.53.1"
    #define SQLITE_VERSION_NUMBER 3053001
    #define SQLITE_SOURCE_ID      "2026-05-05 10:34:17 c88b22011a54b4f6fbd149e9f8e4de77658ce58143a1af0e3785e4e6475127e9"
    #define SQLITE_SCM_BRANCH     "branch-3.53"
    #define SQLITE_SCM_TAGS       "release version-3.53.1"
    #define SQLITE_SCM_DATETIME   "2026-05-05T10:34:17.344Z"

SEE ALSO
sqlite3_version(3)