Name
sqlite3_libversion_number() — Get the SQLite library version
Definition
int sqlite3_libversion_number( );
- Returns
The SQLite library version as a number.
Description
This function returns the SQLite library version as an integer.
The number is in the form Mmmmppp, with M being the major version, m the minor, and p the point release. Smaller
steps are not included. The version number of SQLite v3.6.23.1
(and v3.6.23) is 3006023.
This value is also available at compile time as the SQLITE_VERSION_NUMBER macro. By
comparing the macro used at compile time to the value returned
at runtime, an application can verify that it is linking against
a proper version of the library.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access