aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-08-14 16:01:24 +0000
committerdrh <drh@noemail.net>2009-08-14 16:01:24 +0000
commit47baebc2a68f03c7625b48d94df2df0c54cc0f99 (patch)
tree7474018643d0fbc508a6b2a77b3cf211fcc91c1c /src/main.c
parent9e42f8ac1a132d19fbba1b5a8f1d66f4d36c71ca (diff)
downloadsqlite-47baebc2a68f03c7625b48d94df2df0c54cc0f99.tar.gz
sqlite-47baebc2a68f03c7625b48d94df2df0c54cc0f99.zip
Incorporate fossil-scm version information into the build. Add the
SQLITE_SOURCE_ID macro to the header. Add the sqlite3_sourceid() interface. Add the sqlite_source_id() SQL function. FossilOrigin-Name: 302dabe98f50b472bccd65c58504bc8a330049c4
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 994cc0770..b739d0d20 100644
--- a/src/main.c
+++ b/src/main.c
@@ -13,8 +13,6 @@
** implement the programmer interface to the library. Routines in
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
-**
-** $Id: main.c,v 1.562 2009/07/20 11:32:03 drh Exp $
*/
#include "sqliteInt.h"
@@ -35,6 +33,7 @@
const char sqlite3_version[] = SQLITE_VERSION;
#endif
const char *sqlite3_libversion(void){ return sqlite3_version; }
+const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; }
int sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; }
int sqlite3_threadsafe(void){ return SQLITE_THREADSAFE; }