1.Dd December 19, 2018 2.Dt SQLITE_VERSION 3 3.Os 4.Sh NAME 5.Nm SQLITE_VERSION , 6.Nm SQLITE_VERSION_NUMBER , 7.Nm SQLITE_SOURCE_ID 8.Nd Compile-Time Library Version Numbers 9.Sh SYNOPSIS 10.Fd #define SQLITE_VERSION 11.Fd #define SQLITE_VERSION_NUMBER 12.Fd #define SQLITE_SOURCE_ID 13.Sh DESCRIPTION 14The SQLITE_VERSION C preprocessor macro in the sqlite3.h 15header evaluates to a string literal that is the SQLite version in 16the format "X.Y.Z" where X is the major version number (always 3 for 17SQLite3) and Y is the minor version number and Z is the release number. 18The SQLITE_VERSION_NUMBER C preprocessor macro 19resolves to an integer with the value (X*1000000 + Y*1000 + Z) where 20X, Y, and Z are the same numbers used in SQLITE_VERSION. 21The SQLITE_VERSION_NUMBER for any given release of SQLite will also 22be larger than the release from which it is derived. 23Either Y will be held constant and Z will be incremented or else Y 24will be incremented and Z will be reset to zero. 25.Pp 26Since version 3.6.18 (dateof:3.6.18), SQLite 27source code has been stored in the <a href="http://www.fossil-scm.org/">Fossil 28configuration management system</a>. 29The SQLITE_SOURCE_ID macro evaluates to a string which identifies a 30particular check-in of SQLite within its configuration management system. 31The SQLITE_SOURCE_ID string contains the date and time of the check-in 32(UTC) and a SHA1 or SHA3-256 hash of the entire source tree. 33If the source code has been edited in any way since it was last checked 34in, then the last four hexadecimal digits of the hash may be modified. 35.Pp 36.Sh SEE ALSO 37.Xr sqlite3_version 3 , 38.Xr SQLITE_VERSION 3 39