Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit 37ee7fd

Browse files
committed
I was informed by Roger Binns that FTS5 is not stable yet. Build with
FTS3 and FTS4 instead.
1 parent 90f6fe6 commit 37ee7fd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ def _pkgconfig_library_dirs(self, package):
139139
def build_extension(self, ext):
140140
if self.amalgamation:
141141
ext.define_macros += [
142-
("SQLITE_ENABLE_FTS5", "1"),
142+
("SQLITE_ENABLE_FTS3", "1"),
143+
("SQLITE_ENABLE_FTS3_PARENTHESIS", "1"),
144+
("SQLITE_ENABLE_FTS4", "1"),
143145
("SQLITE_ENABLE_RTREE", "1")]
144146
ext.sources.append("sqlite3.c")
145147
try:

0 commit comments

Comments
 (0)