mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Do not require SQLITE_ENABLE_BROKEN_FTS2 if FTS2 is not enabled.
The same for FTS1. Ticket #2777. (CVS 4556) FossilOrigin-Name: f94cdcfd1171fd110ed9cd4c47f1fb5fa7e99ca9
This commit is contained in:
@ -3,7 +3,8 @@
|
||||
** fts3 (or higher). If you believe that your use of fts1 is safe,
|
||||
** add -DSQLITE_ENABLE_BROKEN_FTS1=1 to your CFLAGS.
|
||||
*/
|
||||
#ifndef SQLITE_ENABLE_BROKEN_FTS1
|
||||
#if (!defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1)) \
|
||||
&& !defined(SQLITE_ENABLE_BROKEN_FTS1)
|
||||
#error fts1 has a design flaw and has been deprecated.
|
||||
#endif
|
||||
/* The flaw is that fts1 uses the content table's unaliased rowid as
|
||||
|
@ -3,7 +3,8 @@
|
||||
** fts3 (or higher). If you believe that your use of fts2 is safe,
|
||||
** add -DSQLITE_ENABLE_BROKEN_FTS2=1 to your CFLAGS.
|
||||
*/
|
||||
#ifndef SQLITE_ENABLE_BROKEN_FTS2
|
||||
#if (!defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS2)) \
|
||||
&& !defined(SQLITE_ENABLE_BROKEN_FTS2)
|
||||
#error fts2 has a design flaw and has been deprecated.
|
||||
#endif
|
||||
/* The flaw is that fts2 uses the content table's unaliased rowid as
|
||||
|
Reference in New Issue
Block a user