1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Add support for building with fts3. (CVS 4250)

FossilOrigin-Name: 95ef963232ab1f15a7c42229819d33d3571a753e
This commit is contained in:
shess
2007-08-20 17:37:47 +00:00
parent acce22f5c7
commit 69c4ae2413
5 changed files with 79 additions and 15 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.387 2007/08/20 16:07:01 danielk1977 Exp $
** $Id: main.c,v 1.388 2007/08/20 17:37:48 shess Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -1001,6 +1001,13 @@ static int openDatabase(
}
#endif
#ifdef SQLITE_ENABLE_FTS3
if( !db->mallocFailed && rc==SQLITE_OK ){
extern int sqlite3Fts3Init(sqlite3*);
rc = sqlite3Fts3Init(db);
}
#endif
#ifdef SQLITE_ENABLE_ICU
if( !db->mallocFailed && rc==SQLITE_OK ){
extern int sqlite3IcuInit(sqlite3*);