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

Automatically disable FTS3 and FTS4 when building with SQLITE_OMIT_VIRTUALTABLE.

FossilOrigin-Name: 0beb32d20d8dd698138cdb2de6b6056de176754d
This commit is contained in:
drh
2016-02-11 22:41:04 +00:00
parent 30470c5162
commit 4553f6ea91
4 changed files with 22 additions and 10 deletions

View File

@@ -3170,6 +3170,13 @@ int sqlite3CantopenError(int);
#define SQLITE_MISUSE_BKPT sqlite3MisuseError(__LINE__)
#define SQLITE_CANTOPEN_BKPT sqlite3CantopenError(__LINE__)
/*
** FTS3 and FTS4 both require virtual table support
*/
#if defined(SQLITE_OMIT_VIRTUALTABLE)
# undef SQLITE_ENABLE_FTS3
# undef SQLITE_ENABLE_FTS4
#endif
/*
** FTS4 is really an extension for FTS3. It is enabled using the