Name
sqlite3_sourceid() — Get the SQLite library source-identifier
Definition
const char* sqlite3_sourceid( );
- Returns
The source-identifier value for the check-in used to build the SQLite library.
Description
This function returns the source-identifier of the SQLite library. The source-identifier consists of the date, time, and hash code from the final source control check-in used to build the SQLite library. The source-identifier for SQLite 3.6.23.1 is:
2010-03-26 22:28:06 b078b588d617e07886ad156e9f54ade6d823568e
This value is also available at compile time as the SQLITE_SOURCE_ID macro. By
comparing the macro used at compile time to the value returned
at runtime, an application can verify that it is linking against
the correct version of the library.
This function is exposed to the SQL environment as the SQL
function sqlite_source_id().
See Also
sqlite3_libversion(), sqlite3_libversion_number(), sqlite_source_id() [SQL Func, Ap E]
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