File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ let features: [CSetting] = [
7676 . define( " SQLITE_ENABLE_DBPAGE_VTAB " , . when( traits: [ " ENABLE_DBPAGE_VTAB " ] ) ) ,
7777 // https://sqlite.org/dbstat.html
7878 . define( " SQLITE_ENABLE_DBSTAT_VTAB " , . when( traits: [ " ENABLE_DBSTAT_VTAB " ] ) ) ,
79+ // https://sqlite.org/fts3.html
80+ . define( " SQLITE_ENABLE_FTS4 " , . when( traits: [ " ENABLE_FTS4 " ] ) ) ,
7981 // https://sqlite.org/fts5.html
8082 . define( " SQLITE_ENABLE_FTS5 " , . when( traits: [ " ENABLE_FTS5 " ] ) ) ,
8183 // https://sqlite.org/geopoly.html
@@ -200,6 +202,10 @@ let package = Package(
200202 name: " ENABLE_DBSTAT_VTAB " ,
201203 description: " Enables the dbstat virtual table "
202204 ) ,
205+ . trait(
206+ name: " ENABLE_FTS4 " ,
207+ description: " Enables versions 3 and 4 of the full-text search engine (fts3 and fts4) "
208+ ) ,
203209 . trait(
204210 name: " ENABLE_FTS5 " ,
205211 description: " Enables version 5 of the full-text search engine (fts5) "
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ The following traits enable commonly-used SQLite features:
6666| ENABLE_COLUMN_METADATA | | [ SQLITE_ENABLE_COLUMN_METADATA] ( https://sqlite.org/c3ref/column_database_name.html ) |
6767| ENABLE_DBPAGE_VTAB | | [ SQLITE_ENABLE_DBPAGE_VTAB] ( https://sqlite.org/dbpage.html ) |
6868| ENABLE_DBSTAT_VTAB | | [ SQLITE_ENABLE_DBSTAT_VTAB] ( https://sqlite.org/dbstat.html ) |
69+ | ENABLE_FTS4 | | [ SQLITE_ENABLE_FTS4] ( https://sqlite.org/fts3.html ) |
6970| ENABLE_FTS5 | Y | [ SQLITE_ENABLE_FTS5] ( https://sqlite.org/fts5.html ) |
7071| ENABLE_GEOPOLY | | [ SQLITE_ENABLE_GEOPOLY] ( https://sqlite.org/geopoly.html ) |
7172| ENABLE_MATH_FUNCTIONS | Y | [ SQLITE_ENABLE_MATH_FUNCTIONS] ( https://sqlite.org/lang_mathfunc.html ) |
You can’t perform that action at this time.
0 commit comments