aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-01-31 13:35:48 +0000
committerdrh <drh@noemail.net>2008-01-31 13:35:48 +0000
commit820a90694e186c6f25bc081dd4ad8162378b9c15 (patch)
tree7731ac018a49c46cf0d9f43f2cbbea50b816e695 /src/main.c
parent21ac7f9dcd302d5135b65f02fc29cad3975c7cb9 (diff)
downloadsqlite-820a90694e186c6f25bc081dd4ad8162378b9c15.tar.gz
sqlite-820a90694e186c6f25bc081dd4ad8162378b9c15.zip
Version number to 3.5.5. Include FTS3 in the amalgamation by default
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3). Fix a memory allocation problem. (CVS 4757) FossilOrigin-Name: 72411043e60d5358d5a7adf566d662d65d3b3336
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index bc79451e8..62500441b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,10 +14,13 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.414 2008/01/23 12:52:41 drh Exp $
+** $Id: main.c,v 1.415 2008/01/31 13:35:49 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
+#ifdef SQLITE_ENABLE_FTS3
+# include "fts3.h"
+#endif
/*
** The version of the library
@@ -1065,7 +1068,6 @@ static int openDatabase(
#ifdef SQLITE_ENABLE_FTS3
if( !db->mallocFailed && rc==SQLITE_OK ){
- extern int sqlite3Fts3Init(sqlite3*);
rc = sqlite3Fts3Init(db);
}
#endif