1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix a couple of errors in fts5 compilation. This branch still does not build with -Wall -Werror.

FossilOrigin-Name: e9e76e12812b9b42b1142246b71cea98e26903aa
This commit is contained in:
dan
2015-10-08 20:11:42 +00:00
parent 50065656f7
commit 056d7acf25
5 changed files with 19 additions and 17 deletions

View File

@@ -2638,6 +2638,13 @@ int sqlite3ParseUri(
return rc;
}
#ifdef SQLITE_ENABLE_FTS5
#ifdef SQLITE_AMALGAMATION
static int sqlite3Fts5Init(sqlite3*);
#else
extern int sqlite3Fts5Init(sqlite3*);
#endif
#endif
/*
** This routine does the work of opening a database on behalf of
@@ -2880,7 +2887,6 @@ static int openDatabase(
#ifdef SQLITE_ENABLE_FTS5
if( !db->mallocFailed && rc==SQLITE_OK ){
extern int sqlite3Fts5Init(sqlite3*);
rc = sqlite3Fts5Init(db);
}
#endif